aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/Makefile
diff options
context:
space:
mode:
authorRobert Richter <rrichter@cavium.com>2014-09-03 15:54:55 +0200
committerRobert Richter <rrichter@cavium.com>2014-10-21 18:06:58 +0200
commitd38726c485d3fd6e9f2ebd1adaef0c3ead48a5ac (patch)
tree3f49c87a782e2af45dca51c116bd7ab2d669ce8c /arch/arm/boot/dts/Makefile
parentdts, kbuild: Factor out dtbs install rules to Makefile.dtbinst (diff)
downloadlinux-dev-d38726c485d3fd6e9f2ebd1adaef0c3ead48a5ac.tar.xz
linux-dev-d38726c485d3fd6e9f2ebd1adaef0c3ead48a5ac.zip
dts, arm/arm64: Remove dtbs build rules in sub-makes
Add dtb files to build targets and let kbuild handle them. Thus, special dtbs rules can be removed. This eases Makefiles and the implementation of the support of vendor dtb subdirectories. Signed-off-by: Robert Richter <rrichter@cavium.com>
Diffstat (limited to 'arch/arm/boot/dts/Makefile')
-rw-r--r--arch/arm/boot/dts/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index e0d348b4d1fa..6e784fac5798 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -517,13 +517,7 @@ dtb-$(CONFIG_MACH_DOVE) += dove-cm-a510.dtb \
dove-dove-db.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += mt6589-aquaris5.dtb
-targets += dtbs dtbs_install
-targets += $(dtb-y)
endif
-# *.dtb used to be generated in the directory above. Clean out the
-# old build results so people don't accidentally use them.
-dtbs: $(addprefix $(obj)/, $(dtb-y))
- $(Q)rm -f $(obj)/../*.dtb
-
-clean-files := *.dtb
+always := $(dtb-y)
+clean-files := *.dtb