diff options
-rw-r--r-- | arch/arc/Makefile | 2 | ||||
-rw-r--r-- | arch/arc/boot/dts/Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile index 8a27a48304a4..cf0cf34eeb24 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile | |||
@@ -121,7 +121,7 @@ $(boot_targets): vmlinux | |||
121 | $(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@ | 121 | $(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@ |
122 | 122 | ||
123 | dtbs: scripts | 123 | dtbs: scripts |
124 | $(Q)$(MAKE) $(build)=$(boot)/dts dtbs | 124 | $(Q)$(MAKE) $(build)=$(boot)/dts |
125 | 125 | ||
126 | archclean: | 126 | archclean: |
127 | $(Q)$(MAKE) $(clean)=$(boot) | 127 | $(Q)$(MAKE) $(clean)=$(boot) |
diff --git a/arch/arc/boot/dts/Makefile b/arch/arc/boot/dts/Makefile index b0e3f19bbd07..e8e46f941dd5 100644 --- a/arch/arc/boot/dts/Makefile +++ b/arch/arc/boot/dts/Makefile | |||
@@ -6,10 +6,10 @@ ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"") | |||
6 | endif | 6 | endif |
7 | 7 | ||
8 | obj-y += $(builtindtb-y).dtb.o | 8 | obj-y += $(builtindtb-y).dtb.o |
9 | targets += $(builtindtb-y).dtb | 9 | dtb-y := $(builtindtb-y).dtb |
10 | 10 | ||
11 | .SECONDARY: $(obj)/$(builtindtb-y).dtb.S | 11 | .SECONDARY: $(obj)/$(builtindtb-y).dtb.S |
12 | 12 | ||
13 | dtbs: $(addprefix $(obj)/, $(builtindtb-y).dtb) | ||
14 | 13 | ||
14 | always := $(dtb-y) | ||
15 | clean-files := *.dtb *.dtb.S | 15 | clean-files := *.dtb *.dtb.S |