diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-01-02 22:27:14 +0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-02-24 07:12:52 +0400 |
commit | 2a02bc166dd1c7dae71bd3115fb10ec0c351a31f (patch) | |
tree | 41afb43a7ceb5b4c1197c6583e254c1d1553f9a5 /arch/xtensa/boot/Makefile | |
parent | 127bc79e30387c57206aab8d9d0ef6c8c34a474e (diff) | |
download | linux-2a02bc166dd1c7dae71bd3115fb10ec0c351a31f.tar.xz |
xtensa: use new common dtc rule
The current rules have the .dtb files build in a different directory
from the .dts files. This patch changes xtensa to use the generic dtb
rule which builds .dtb files in the same directory as the source .dts.
This requires moving parts of arch/xtensa/boot/Makefile into newly
created arch/xtensa/boot/dts/Makefile, and updating arch/xtensa/Makefile
to call the new Makefile.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/boot/Makefile')
-rw-r--r-- | arch/xtensa/boot/Makefile | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile index 818647e815d7..64ffc4b53df6 100644 --- a/arch/xtensa/boot/Makefile +++ b/arch/xtensa/boot/Makefile @@ -25,18 +25,6 @@ bootdir-$(CONFIG_XTENSA_PLATFORM_ISS) += boot-elf bootdir-$(CONFIG_XTENSA_PLATFORM_XT2000) += boot-redboot boot-elf boot-uboot bootdir-$(CONFIG_XTENSA_PLATFORM_XTFPGA) += boot-redboot boot-elf boot-uboot - -BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB)).dtb.o -ifneq ($(CONFIG_BUILTIN_DTB),"") -obj-$(CONFIG_OF) += $(BUILTIN_DTB) -endif - -# Rule to build device tree blobs -$(obj)/%.dtb: $(src)/dts/%.dts FORCE - $(call if_changed_dep,dtc) - -clean-files := *.dtb.S - zImage Image: $(bootdir-y) $(bootdir-y): $(addprefix $(obj)/,$(subdir-y)) \ |