diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-10 19:05:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-10 19:05:40 -0400 |
commit | cb63fc26623ee38fd84d71ea5a98189240ec2e1b (patch) | |
tree | 888721f9f48126b0f25711adbd82957d0f965781 /Makefile | |
parent | a9642fa351c9dbf930ad2b5a1c17f3cfe2f62820 (diff) | |
parent | 4d47dde47f7dd95042fa56283d948f50dd4b509c (diff) |
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild updates from Michal Marek:
- fix for make headers_install argv explosion with too long path
- scripts/setlocalversion does not call git update-index needlessly
- fix for the src.rpm produced by make rpm-pkg. The new make
image_name can be useful also for other packaging tools.
- scripts/mod/devicetable-offsets.o is not rebuilt during each make run
- make modules_install dependency fix
- scripts/sortextable portability fix
- fix for kbuild to generate the output directory for all object files
in subdirs.
- a couple of minor fixes
* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
kbuild: create directory for dir/file.o
tools/include: use stdint types for user-space byteshift headers
Makefile: Fix install error with make -j option
Fix a build warning in scripts/mod/file2alias.c
improve modalias building
scripts/mod: Spelling s/DEVICEVTABLE/DEVICETABLE/
kbuild: fix error when building from src rpm
scripts/setlocalversion on write-protected source tree
Makefile.lib: align DTB quiet_cmd
kbuild: fix make headers_install when path is too long
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -981,7 +981,7 @@ _modinst_: | |||
981 | # boot a modules.dep even before / is mounted read-write. However the | 981 | # boot a modules.dep even before / is mounted read-write. However the |
982 | # boot script depmod is the master version. | 982 | # boot script depmod is the master version. |
983 | PHONY += _modinst_post | 983 | PHONY += _modinst_post |
984 | _modinst_post: _modinst_ | 984 | _modinst_post: include/config/kernel.release _modinst_ |
985 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modinst | 985 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modinst |
986 | $(call cmd,depmod) | 986 | $(call cmd,depmod) |
987 | 987 | ||
@@ -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 |