diff options
| -rw-r--r-- | arch/openrisc/Makefile | 2 | ||||
| -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 | |||
| 50 | else | 50 | else |
| 51 | BUILTIN_DTB := n | 51 | BUILTIN_DTB := n |
| 52 | endif | 52 | endif |
| 53 | core-$(BUILTIN_DTB) += arch/openrisc/boot/ | 53 | core-$(BUILTIN_DTB) += arch/openrisc/boot/dts/ |
| 54 | 54 | ||
| 55 | all: vmlinux | 55 | all: 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 | |||
| 3 | ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""' | 1 | ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""' |
| 4 | BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_OPENRISC_BUILTIN_DTB)).dtb.o | 2 | BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_OPENRISC_BUILTIN_DTB)).dtb.o |
| 5 | else | 3 | else |
| @@ -10,6 +8,3 @@ obj-y += $(BUILTIN_DTB) | |||
| 10 | clean-files := *.dtb.S | 8 | clean-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) | ||
