summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqctecmdr <qctecmdr@localhost>2021-11-24 01:05:57 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2021-11-24 01:05:57 -0800
commit933669baf1348ebef356f3e52841e38e3b92bead (patch)
tree76b2a18d98956c13d0906d6a71e350ef231b1325
parent786d179779b1599fde765b12e6910fcaef866382 (diff)
parentb568a6c962bbff0333a7939960394c327a9e6322 (diff)
Merge "QcomModulePkg: Delete the BuildEnv.sh after abl.fv was generated"
-rw-r--r--makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile b/makefile
index 006a97eb34..1755636665 100644
--- a/makefile
+++ b/makefile
@@ -156,7 +156,8 @@ ABL_FV_IMG: EDK_TOOLS_BIN
cp $(BUILD_ROOT)/FV/FVMAIN_COMPACT.Fv $(ABL_FV_IMG)
BASETOOLS_CLEAN: ABL_FV_IMG
- @$(MAKEPATH)make -C $(BUILDDIR)/BaseTools/Source/C clean > /dev/null
+ @rm -rf $(BUILDDIR)/Conf/BuildEnv.sh && \
+ $(MAKEPATH)make -C $(BUILDDIR)/BaseTools/Source/C clean > /dev/null
ABL_FV_ELF: BASETOOLS_CLEAN
python3 $(WORKSPACE)/QcomModulePkg/Tools/image_header.py $(ABL_FV_IMG) $(ABL_FV_ELF) $(LOAD_ADDRESS) elf 32 nohash