summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2019-05-08 00:22:11 +0530
committerKever Yang <kever.yang@rock-chips.com>2019-06-26 21:11:27 +0800
commitcc2cf69093bdb0154d5fa063772502f02fbbc16c (patch)
tree5faec12638253737444767a55e9f65c91ba20c26
parent8f06f0cee3d35f3ac05c5c43f1b2040241192b4d (diff)
Makefile: clean bl31_*.bin
Rockchip platform has its python script that would generate various bl31_*bin for creating u-boot.itb file by taking bl31.elf as input. These bl31_*.bin files are generated in u-boot root directory and have no rule to clean it up. so add support for it by adding in command entry of clean target in Makefile. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a90dd2a605..db81531666 100644
--- a/Makefile
+++ b/Makefile
@@ -1848,7 +1848,7 @@ clean: $(clean-dirs)
-o -name 'dsdt.aml' -o -name 'dsdt.asl.tmp' -o -name 'dsdt.c' \
-o -name '*.efi' -o -name '*.gcno' -o -name '*.so' \) \
-type f -print | xargs rm -f \
- image.map
+ bl31_*.bin image.map
# mrproper - Delete all generated files, including .config
#