summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2008-03-24 23:52:46 +0100
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2008-04-03 03:29:11 +0200
commite04018e8e49c8c78cebd627ea9b5d02b807662ad (patch)
tree294182f218ef80c9a94d3f7beecd6a41afd97f59 /arch/powerpc/Makefile
parent[POWERPC] ppc: Remove redundant display of free swap space in show_mem() (diff)
downloadlinux-e04018e8e49c8c78cebd627ea9b5d02b807662ad.tar.xz
linux-e04018e8e49c8c78cebd627ea9b5d02b807662ad.zip
[POWERPC] add target for building .dtb files
Call dtc from the Makefile instead of the wrapper script so that the dt blobs can be generated with a simple make invocation. Using this patch allows board ports to trigger automatic building of .dtb files by adding them to the image-y target list. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r--arch/powerpc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index ab5cfe8ef988..dd8082522da3 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -164,7 +164,7 @@ boot := arch/$(ARCH)/boot
$(BOOT_TARGETS): vmlinux
$(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
-bootwrapper_install:
+bootwrapper_install %.dtb:
$(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
define archhelp