aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-15 21:07:59 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-15 21:07:59 -0400
commit84c3d4aaec3338201b449034beac41635866bddf (patch)
tree3412951682fb2dd4feb8a5532f8efbaf8b345933 /Makefile
parent43d2548bb2ef7e6d753f91468a746784041e522d (diff)
parentfafa3a3f16723997f039a0193997464d66dafd8f (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--Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 618911026ac3..8a2a275be304 100644
--- a/Makefile
+++ b/Makefile
@@ -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
453init-y := init/ 453init-y := init/
454drivers-y := drivers/ sound/ 454drivers-y := drivers/ sound/ firmware/
455net-y := net/ 455net-y := net/
456libs-y := lib/ 456libs-y := lib/
457core-y := usr/ 457core-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
1004INSTALL_FW_PATH=$(INSTALL_MOD_PATH)/lib/firmware
1005export INSTALL_FW_PATH
1006
1007PHONY += firmware_install
1008firmware_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
1004INSTALL_HDR_PATH=$(objtree)/usr 1014INSTALL_HDR_PATH=$(objtree)/usr
1005export INSTALL_HDR_PATH 1015export INSTALL_HDR_PATH
@@ -1085,6 +1095,7 @@ _modinst_:
1085# boot script depmod is the master version. 1095# boot script depmod is the master version.
1086PHONY += _modinst_post 1096PHONY += _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
1090else # CONFIG_MODULES 1101else # 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'