diff options
author | Michal Marek <mmarek@suse.cz> | 2014-07-11 09:57:24 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-07-11 10:11:45 -0400 |
commit | 3f1d9a6cec011b0a25a5dff5d9e5012a459ef02f (patch) | |
tree | c3db8c4faf4e843564f7b46f50a924339fc2cc60 /Makefile | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) |
kbuild: make -s should be used with kernelrelease/kernelversion/image_name
If .config has been edited, there will be a silentoldconfig run:
$ make defconfig
...
$ make kernelrelease
scripts/kconfig/conf --silentoldconfig Kconfig
3.16.0-rc1+
Recently, kbuild started to print the name of the build directory when
using O=
$ make O=build kernelrelease
make[1]: Entering directory `/dev/shm/mmarek/linux-2.6/build'
3.16.0-rc1+
Since these targets are often used in scripts, add a hint to use make -s
to the help text.
Suggested-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1214,9 +1214,9 @@ help: | |||
1214 | @echo ' tags/TAGS - Generate tags file for editors' | 1214 | @echo ' tags/TAGS - Generate tags file for editors' |
1215 | @echo ' cscope - Generate cscope index' | 1215 | @echo ' cscope - Generate cscope index' |
1216 | @echo ' gtags - Generate GNU GLOBAL index' | 1216 | @echo ' gtags - Generate GNU GLOBAL index' |
1217 | @echo ' kernelrelease - Output the release version string' | 1217 | @echo ' kernelrelease - Output the release version string (use with make -s)' |
1218 | @echo ' kernelversion - Output the version stored in Makefile' | 1218 | @echo ' kernelversion - Output the version stored in Makefile (use with make -s)' |
1219 | @echo ' image_name - Output the image name' | 1219 | @echo ' image_name - Output the image name (use with make -s)' |
1220 | @echo ' headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH'; \ | 1220 | @echo ' headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH'; \ |
1221 | echo ' (default: $(INSTALL_HDR_PATH))'; \ | 1221 | echo ' (default: $(INSTALL_HDR_PATH))'; \ |
1222 | echo '' | 1222 | echo '' |