diff options
author | Stephen Warren | 2012-11-27 16:29:13 -0700 |
---|---|---|
committer | Rob Herring | 2012-12-03 17:17:48 -0600 |
commit | 19fbd6b2961ccbdba73c6c731ef27da29063e094 (patch) | |
tree | cc828e338279844581f56845b22adee2c0ce2aa4 /arch/openrisc/boot/dts | |
parent | 70f915a299bc72424fc2d3498284f6d48b880afa (diff) |
openrisc: use new common dtc rule
The current rules have the .dtb files build in a different directory
from the .dts files. This patch changes openrisc to use the generic dtb
rule which builds .dtb files in the same directory as the source .dts.
This requires renaming arch/openrisc/boot/Makefile to
arch/openrisc/boot/dts/Makefile, and updating arch/openrisc/Makefile to
call the new Makefile.
Cc: Jonas Bonn <jonas@southpole.se>
Cc: linux@lists.openrisc.net
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'arch/openrisc/boot/dts')
-rw-r--r-- | arch/openrisc/boot/dts/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/openrisc/boot/dts/Makefile b/arch/openrisc/boot/dts/Makefile new file mode 100644 index 000000000000..b092d30d6c23 --- /dev/null +++ b/arch/openrisc/boot/dts/Makefile @@ -0,0 +1,10 @@ +ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""' +BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_OPENRISC_BUILTIN_DTB)).dtb.o +else +BUILTIN_DTB := +endif +obj-y += $(BUILTIN_DTB) + +clean-files := *.dtb.S + +#DTC_FLAGS ?= -p 1024 |