diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-01-02 11:27:14 -0700 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-02-23 19:12:52 -0800 |
commit | 2a02bc166dd1c7dae71bd3115fb10ec0c351a31f (patch) | |
tree | 41afb43a7ceb5b4c1197c6583e254c1d1553f9a5 /arch/xtensa/boot/dts | |
parent | 127bc79e30387c57206aab8d9d0ef6c8c34a474e (diff) | |
download | op-kernel-dev-2a02bc166dd1c7dae71bd3115fb10ec0c351a31f.zip op-kernel-dev-2a02bc166dd1c7dae71bd3115fb10ec0c351a31f.tar.gz |
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/dts')
-rw-r--r-- | arch/xtensa/boot/dts/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/xtensa/boot/dts/Makefile b/arch/xtensa/boot/dts/Makefile new file mode 100644 index 0000000..5f711bb --- /dev/null +++ b/arch/xtensa/boot/dts/Makefile @@ -0,0 +1,15 @@ +# +# arch/xtensa/boot/dts/Makefile +# +# This file is subject to the terms and conditions of the GNU General Public +# License. See the file "COPYING" in the main directory of this archive +# for more details. +# +# + +BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB)).dtb.o +ifneq ($(CONFIG_BUILTIN_DTB),"") +obj-$(CONFIG_OF) += $(BUILTIN_DTB) +endif + +clean-files := *.dtb.S |