diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2008-03-24 18:52:46 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-04-02 21:29:11 -0400 |
commit | e04018e8e49c8c78cebd627ea9b5d02b807662ad (patch) | |
tree | 294182f218ef80c9a94d3f7beecd6a41afd97f59 /arch/powerpc/Makefile | |
parent | 1e5ef43e8c206128560eb6c32a19a7951033a3c3 (diff) |
[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 ab5cfe8ef988..dd8082522da3 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -164,7 +164,7 @@ boot := arch/$(ARCH)/boot | |||
164 | $(BOOT_TARGETS): vmlinux | 164 | $(BOOT_TARGETS): vmlinux |
165 | $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) | 165 | $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) |
166 | 166 | ||
167 | bootwrapper_install: | 167 | bootwrapper_install %.dtb: |
168 | $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) | 168 | $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) |
169 | 169 | ||
170 | define archhelp | 170 | define archhelp |