diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-20 12:45:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-20 12:45:43 -0500 |
commit | d9569f003cfc0228e132749ae6fd81cb29dc6c70 (patch) | |
tree | 13700ad267a40c318a8d36356c8f5b25e98854fb /Makefile | |
parent | 0cf0305fffcf8df0998b70d0e922b7a3a5976182 (diff) | |
parent | 7599ea8b4e25fd8dea26cb64f100cf265d1e6bf3 (diff) |
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild updates from Michal Marek:
- Make <modname>-m in makefiles work like <modname>-y and fix the
fallout
- Minor genksyms fix
- Fix race with make -j install modules_install
- Move -Wsign-compare from make W=1 to W=2
- Other minor fixes
* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
kbuild: Demote 'sign-compare' warning to W=2
Makefile: revert "Makefile: Document ability to make file.lst and file.S" partially
kbuild: Do not run modules_install and install in paralel
genksyms: Handle string literals with spaces in reference files
fixdep: constify strrcmp arguments
ath10k: Fix build with CONFIG_THERMAL=m
Revert "drm: Hack around CONFIG_AGP=m build failures"
kbuild: Allow to specify composite modules with modname-m
staging/ad7606: Actually build the interface modules
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -495,6 +495,12 @@ ifeq ($(KBUILD_EXTMOD),) | |||
495 | endif | 495 | endif |
496 | endif | 496 | endif |
497 | endif | 497 | endif |
498 | # install and module_install need also be processed one by one | ||
499 | ifneq ($(filter install,$(MAKECMDGOALS)),) | ||
500 | ifneq ($(filter modules_install,$(MAKECMDGOALS)),) | ||
501 | mixed-targets := 1 | ||
502 | endif | ||
503 | endif | ||
498 | 504 | ||
499 | ifeq ($(mixed-targets),1) | 505 | ifeq ($(mixed-targets),1) |
500 | # =========================================================================== | 506 | # =========================================================================== |
@@ -1259,7 +1265,7 @@ help: | |||
1259 | @echo ' firmware_install- Install all firmware to INSTALL_FW_PATH' | 1265 | @echo ' firmware_install- Install all firmware to INSTALL_FW_PATH' |
1260 | @echo ' (default: $$(INSTALL_MOD_PATH)/lib/firmware)' | 1266 | @echo ' (default: $$(INSTALL_MOD_PATH)/lib/firmware)' |
1261 | @echo ' dir/ - Build all files in dir and below' | 1267 | @echo ' dir/ - Build all files in dir and below' |
1262 | @echo ' dir/file.[oisS] - Build specified target only' | 1268 | @echo ' dir/file.[ois] - Build specified target only' |
1263 | @echo ' dir/file.lst - Build specified mixed source/assembly target only' | 1269 | @echo ' dir/file.lst - Build specified mixed source/assembly target only' |
1264 | @echo ' (requires a recent binutils and recent build (System.map))' | 1270 | @echo ' (requires a recent binutils and recent build (System.map))' |
1265 | @echo ' dir/file.ko - Build module including final link' | 1271 | @echo ' dir/file.ko - Build module including final link' |