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>
This commit is contained in:
Родитель
ec6f34e5b5
Коммит
c7c52e4829
|
@ -85,6 +85,7 @@ vdso_install:
|
||||||
# We use MRPROPER_FILES and CLEAN_FILES now
|
# We use MRPROPER_FILES and CLEAN_FILES now
|
||||||
archclean:
|
archclean:
|
||||||
$(Q)$(MAKE) $(clean)=$(boot)
|
$(Q)$(MAKE) $(clean)=$(boot)
|
||||||
|
$(Q)$(MAKE) $(clean)=$(boot)/dts
|
||||||
|
|
||||||
define archhelp
|
define archhelp
|
||||||
echo '* Image.gz - Compressed kernel image (arch/$(ARCH)/boot/Image.gz)'
|
echo '* Image.gz - Compressed kernel image (arch/$(ARCH)/boot/Image.gz)'
|
||||||
|
|
|
@ -3,6 +3,4 @@ dts-dirs += apm
|
||||||
dts-dirs += arm
|
dts-dirs += arm
|
||||||
dts-dirs += cavium
|
dts-dirs += cavium
|
||||||
|
|
||||||
always := $(dtb-y)
|
|
||||||
subdir-y := $(dts-dirs)
|
subdir-y := $(dts-dirs)
|
||||||
clean-files := *.dtb
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче