aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/boot/Makefile
diff options
context:
space:
mode:
authorDirk B <dirk.behme@googlemail.com>2011-11-08 18:16:39 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-11-08 18:25:04 +0000
commit5f300acd8ae9f3d4585154370012ffc5c665330f (patch)
tree2ee7b8f28d20969ef715665292174125fa25e5d0 /arch/arm/boot/Makefile
parent8428e84d42179c2a00f5f6450866e70d802d1d05 (diff)
downloadlinux-linaro-stable-5f300acd8ae9f3d4585154370012ffc5c665330f.tar.gz
ARM: 7152/1: distclean: Remove generated .dtb files
The patch 'arm/dt: Add dtb make rule' adds support to create a .dtb file. But this is never removed afterwards. Remove the generated .dtb file if 'distclean' is called. Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com> Acked-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Cc: Shawn Guo <shawn.guo@freescale.com> Cc: Jason Liu <jason.hui@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/boot/Makefile')
-rw-r--r--arch/arm/boot/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
index 176062ac7f07..5df26a9976a2 100644
--- a/arch/arm/boot/Makefile
+++ b/arch/arm/boot/Makefile
@@ -65,6 +65,8 @@ $(obj)/%.dtb: $(src)/dts/%.dts
$(obj)/dtbs: $(addprefix $(obj)/, $(dtb-y))
+clean-files := *.dtb
+
quiet_cmd_uimage = UIMAGE $@
cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A arm -O linux -T kernel \
-C none -a $(LOADADDR) -e $(STARTADDR) \