forked from Mirrors/opensbi
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>
This commit is contained in:

committed by
Anup Patel

parent
79bf80b44e
commit
a04c46506a
2
Makefile
2
Makefile
@@ -461,6 +461,8 @@ clean:
|
|||||||
$(CMD_PREFIX)find $(build_dir) -type f -name "*.elf" -exec rm -rf {} +
|
$(CMD_PREFIX)find $(build_dir) -type f -name "*.elf" -exec rm -rf {} +
|
||||||
$(if $(V), @echo " RM $(build_dir)/*.bin")
|
$(if $(V), @echo " RM $(build_dir)/*.bin")
|
||||||
$(CMD_PREFIX)find $(build_dir) -type f -name "*.bin" -exec rm -rf {} +
|
$(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"
|
# Rule for "make distclean"
|
||||||
.PHONY: distclean
|
.PHONY: distclean
|
||||||
|
Reference in New Issue
Block a user