diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2008-03-25 09:52:46 +1100 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-04-02 20:29:11 -0500 |
commit | e04018e8e49c8c78cebd627ea9b5d02b807662ad (patch) | |
tree | 294182f218ef80c9a94d3f7beecd6a41afd97f59 /arch/powerpc/Makefile | |
parent | 1e5ef43e8c206128560eb6c32a19a7951033a3c3 (diff) | |
download | op-kernel-dev-e04018e8e49c8c78cebd627ea9b5d02b807662ad.zip op-kernel-dev-e04018e8e49c8c78cebd627ea9b5d02b807662ad.tar.gz |
[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/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index ab5cfe8..dd80825 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 |