diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1116,6 +1116,7 @@ help: | |||
1116 | @echo ' gtags - Generate GNU GLOBAL index' | 1116 | @echo ' gtags - Generate GNU GLOBAL index' |
1117 | @echo ' kernelrelease - Output the release version string' | 1117 | @echo ' kernelrelease - Output the release version string' |
1118 | @echo ' kernelversion - Output the version stored in Makefile' | 1118 | @echo ' kernelversion - Output the version stored in Makefile' |
1119 | @echo ' image_name - Output the image name' | ||
1119 | @echo ' headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH'; \ | 1120 | @echo ' headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH'; \ |
1120 | echo ' (default: $(INSTALL_HDR_PATH))'; \ | 1121 | echo ' (default: $(INSTALL_HDR_PATH))'; \ |
1121 | echo '' | 1122 | echo '' |
@@ -1310,7 +1311,7 @@ export_report: | |||
1310 | endif #ifeq ($(config-targets),1) | 1311 | endif #ifeq ($(config-targets),1) |
1311 | endif #ifeq ($(mixed-targets),1) | 1312 | endif #ifeq ($(mixed-targets),1) |
1312 | 1313 | ||
1313 | PHONY += checkstack kernelrelease kernelversion | 1314 | PHONY += checkstack kernelrelease kernelversion image_name |
1314 | 1315 | ||
1315 | # UML needs a little special treatment here. It wants to use the host | 1316 | # UML needs a little special treatment here. It wants to use the host |
1316 | # toolchain, so needs $(SUBARCH) passed to checkstack.pl. Everyone | 1317 | # toolchain, so needs $(SUBARCH) passed to checkstack.pl. Everyone |
@@ -1331,6 +1332,9 @@ kernelrelease: | |||
1331 | kernelversion: | 1332 | kernelversion: |
1332 | @echo $(KERNELVERSION) | 1333 | @echo $(KERNELVERSION) |
1333 | 1334 | ||
1335 | image_name: | ||
1336 | @echo $(KBUILD_IMAGE) | ||
1337 | |||
1334 | # Clear a bunch of variables before executing the submake | 1338 | # Clear a bunch of variables before executing the submake |
1335 | tools/: FORCE | 1339 | tools/: FORCE |
1336 | $(Q)mkdir -p $(objtree)/tools | 1340 | $(Q)mkdir -p $(objtree)/tools |