diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-15 21:07:59 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-15 21:07:59 -0400 |
commit | 84c3d4aaec3338201b449034beac41635866bddf (patch) | |
tree | 3412951682fb2dd4feb8a5532f8efbaf8b345933 /Makefile | |
parent | 43d2548bb2ef7e6d753f91468a746784041e522d (diff) | |
parent | fafa3a3f16723997f039a0193997464d66dafd8f (diff) |
Merge commit 'origin/master'
Manual merge of:
arch/powerpc/Kconfig
arch/powerpc/kernel/stacktrace.c
arch/powerpc/mm/slice.c
arch/ppc/kernel/smp.c
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -451,7 +451,7 @@ scripts: scripts_basic include/config/auto.conf | |||
451 | 451 | ||
452 | # Objects we will link into vmlinux / subdirs we need to visit | 452 | # Objects we will link into vmlinux / subdirs we need to visit |
453 | init-y := init/ | 453 | init-y := init/ |
454 | drivers-y := drivers/ sound/ | 454 | drivers-y := drivers/ sound/ firmware/ |
455 | net-y := net/ | 455 | net-y := net/ |
456 | libs-y := lib/ | 456 | libs-y := lib/ |
457 | core-y := usr/ | 457 | core-y := usr/ |
@@ -1000,6 +1000,16 @@ depend dep: | |||
1000 | @echo '*** Warning: make $@ is unnecessary now.' | 1000 | @echo '*** Warning: make $@ is unnecessary now.' |
1001 | 1001 | ||
1002 | # --------------------------------------------------------------------------- | 1002 | # --------------------------------------------------------------------------- |
1003 | # Firmware install | ||
1004 | INSTALL_FW_PATH=$(INSTALL_MOD_PATH)/lib/firmware | ||
1005 | export INSTALL_FW_PATH | ||
1006 | |||
1007 | PHONY += firmware_install | ||
1008 | firmware_install: FORCE | ||
1009 | @mkdir -p $(objtree)/firmware | ||
1010 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_install | ||
1011 | |||
1012 | # --------------------------------------------------------------------------- | ||
1003 | # Kernel headers | 1013 | # Kernel headers |
1004 | INSTALL_HDR_PATH=$(objtree)/usr | 1014 | INSTALL_HDR_PATH=$(objtree)/usr |
1005 | export INSTALL_HDR_PATH | 1015 | export INSTALL_HDR_PATH |
@@ -1085,6 +1095,7 @@ _modinst_: | |||
1085 | # boot script depmod is the master version. | 1095 | # boot script depmod is the master version. |
1086 | PHONY += _modinst_post | 1096 | PHONY += _modinst_post |
1087 | _modinst_post: _modinst_ | 1097 | _modinst_post: _modinst_ |
1098 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modinst | ||
1088 | $(call cmd,depmod) | 1099 | $(call cmd,depmod) |
1089 | 1100 | ||
1090 | else # CONFIG_MODULES | 1101 | else # CONFIG_MODULES |
@@ -1202,6 +1213,8 @@ help: | |||
1202 | @echo '* vmlinux - Build the bare kernel' | 1213 | @echo '* vmlinux - Build the bare kernel' |
1203 | @echo '* modules - Build all modules' | 1214 | @echo '* modules - Build all modules' |
1204 | @echo ' modules_install - Install all modules to INSTALL_MOD_PATH (default: /)' | 1215 | @echo ' modules_install - Install all modules to INSTALL_MOD_PATH (default: /)' |
1216 | @echo ' firmware_install- Install all firmware to INSTALL_FW_PATH' | ||
1217 | @echo ' (default: $$(INSTALL_MOD_PATH)/lib/firmware)' | ||
1205 | @echo ' dir/ - Build all files in dir and below' | 1218 | @echo ' dir/ - Build all files in dir and below' |
1206 | @echo ' dir/file.[ois] - Build specified target only' | 1219 | @echo ' dir/file.[ois] - Build specified target only' |
1207 | @echo ' dir/file.ko - Build module including final link' | 1220 | @echo ' dir/file.ko - Build module including final link' |