aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/openrisc/Makefile2
-rw-r--r--arch/openrisc/boot/dts/Makefile (renamed from arch/openrisc/boot/Makefile)5
2 files changed, 1 insertions, 6 deletions
diff --git a/arch/openrisc/Makefile b/arch/openrisc/Makefile
index 966886c8daf5..4739b8302a58 100644
--- a/arch/openrisc/Makefile
+++ b/arch/openrisc/Makefile
@@ -50,6 +50,6 @@ BUILTIN_DTB := y
50else 50else
51BUILTIN_DTB := n 51BUILTIN_DTB := n
52endif 52endif
53core-$(BUILTIN_DTB) += arch/openrisc/boot/ 53core-$(BUILTIN_DTB) += arch/openrisc/boot/dts/
54 54
55all: vmlinux 55all: vmlinux
diff --git a/arch/openrisc/boot/Makefile b/arch/openrisc/boot/dts/Makefile
index 09958358601a..b092d30d6c23 100644
--- a/arch/openrisc/boot/Makefile
+++ b/arch/openrisc/boot/dts/Makefile
@@ -1,5 +1,3 @@
1
2
3ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""' 1ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""'
4BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_OPENRISC_BUILTIN_DTB)).dtb.o 2BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_OPENRISC_BUILTIN_DTB)).dtb.o
5else 3else
@@ -10,6 +8,3 @@ obj-y += $(BUILTIN_DTB)
10clean-files := *.dtb.S 8clean-files := *.dtb.S
11 9
12#DTC_FLAGS ?= -p 1024 10#DTC_FLAGS ?= -p 1024
13
14$(obj)/%.dtb: $(src)/dts/%.dts FORCE
15 $(call if_changed_dep,dtc)