aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJungseok Lee <jungseoklee85@gmail.com>2015-01-19 14:57:00 +0000
committerAlex Shi <alex.shi@linaro.org>2016-01-14 22:14:57 +0800
commit346a8beb760237fb0fed811045ec92c799f48d54 (patch)
treee46d15bc65916e87693726c2f0d142aa792db572
parent08671464b7991cdbc2928243fbde2458357b2ce8 (diff)
arm64: Add dtb files to archclean rule
As dts files have been reorganised under vendor subdirs, dtb files cannot be removed with "make distclean" now. Thus, this patch moves dtb files under archclean rule and removes unnecessary entries. Cc: Robert Richter <rrichter@cavium.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Jungseok Lee <jungseoklee85@gmail.com> Signed-off-by: Will Deacon <will.deacon@arm.com> (cherry picked from commit c7c52e482975cb9c390471df35ab85e86dbc5916) Signed-off-by: Alex Shi <alex.shi@linaro.org>
-rw-r--r--arch/arm64/Makefile1
-rw-r--r--arch/arm64/boot/dts/Makefile2
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index aba8de0cf4c0..661928fcfa93 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -89,6 +89,7 @@ vdso_install:
# We use MRPROPER_FILES and CLEAN_FILES now
archclean:
$(Q)$(MAKE) $(clean)=$(boot)
+ $(Q)$(MAKE) $(clean)=$(boot)/dts
define archhelp
echo '* Image.gz - Compressed kernel image (arch/$(ARCH)/boot/Image.gz)'
diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile
index e8efc8ff3d58..7f67556f442f 100644
--- a/arch/arm64/boot/dts/Makefile
+++ b/arch/arm64/boot/dts/Makefile
@@ -2,6 +2,4 @@ dts-dirs += apm
dts-dirs += arm
dts-dirs += cavium
-always := $(dtb-y)
subdir-y := $(dts-dirs)
-clean-files := *.dtb