summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-10-05 17:55:53 +0300
committerAnup Patel <anup@brainfault.org>2020-10-10 08:32:23 +0300
commita04c46506a6e5bd7425bd63430645a6c85145b10 (patch)
treea1bd891efd710bf30138fb14547c6e370531b8c0 /Makefile
parent79bf80b44e578181436be3647b0c475fc42b14e8 (diff)
downloadopensbi-a04c46506a6e5bd7425bd63430645a6c85145b10.tar.xz
makefile: fix clean directive
Add cleaning of compiled device tree files (.dtb files). Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cebb78e..2a352ef 100644
--- a/Makefile
+++ b/Makefile
@@ -461,6 +461,8 @@ clean:
$(CMD_PREFIX)find $(build_dir) -type f -name "*.elf" -exec rm -rf {} +
$(if $(V), @echo " RM $(build_dir)/*.bin")
$(CMD_PREFIX)find $(build_dir) -type f -name "*.bin" -exec rm -rf {} +
+ $(if $(V), @echo " RM $(build_dir)/*.dtb")
+ $(CMD_PREFIX)find $(build_dir) -type f -name "*.dtb" -exec rm -rf {} +
# Rule for "make distclean"
.PHONY: distclean