aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJungseok Lee <jungseoklee85@gmail.com>2015-01-19 14:57:00 +0000
committerJon Medhurst <tixy@linaro.org>2016-01-14 10:36:28 +0000
commit2094293b0db681554691e6dd26f2b30918114ace (patch)
tree7b27e774310143fcba5581638e6b1f04d140ceaf
parentb44a3445ad22f833317f3218ec6e83d4616d3d49 (diff)
arm64: Add dtb files to archclean rulelsk-3.18-armlt-20160114
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: Jon Medhurst <tixy@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 ef759251b42d..2ef9987f2466 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -90,6 +90,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