|
@@ -206,7 +206,8 @@ recurse-clean: $(addsuffix /clean, $(ROM_DIRS))
|
|
|
clean: recurse-clean
|
|
|
-$(quiet-@)test -f build.ninja && $(NINJA) $(NINJAFLAGS) -t clean || :
|
|
|
-$(quiet-@)test -f build.ninja && $(NINJA) $(NINJAFLAGS) clean-ctlist || :
|
|
|
- find . \( -name '*.so' -o -name '*.dll' -o -name '*.[oda]' \) -type f \
|
|
|
+ find . \( -name '*.so' -o -name '*.dll' -o \
|
|
|
+ -name '*.[oda]' -o -name '*.gcno' \) -type f \
|
|
|
! -path ./roms/edk2/ArmPkg/Library/GccLto/liblto-aarch64.a \
|
|
|
! -path ./roms/edk2/ArmPkg/Library/GccLto/liblto-arm.a \
|
|
|
-exec rm {} +
|