Created
December 9, 2022 08:57
-
-
Save r-vignesh/e402285b4db62ac5efcb64498b60145d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile b/Makefile | |
index a8c14eb530a1..6b22a3c08946 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -212,8 +212,9 @@ $(ITS): | _objtree_build | |
$(ITB): $(ITS) $(SOC_BINS) | _bindir_build | |
$(MKIMAGE) -f $< -r $@ | |
+.PHONY: sysfw.itb | |
sysfw.itb: $(ITB) | |
- @ln -sf $< $@ | |
+ @ln -sf $< $(BIN_DIR)/$@ | |
$(COMBINED_SYSFW_BRDCFG): $(soc_objroot)/board-cfg.bin $(soc_objroot)/sec-cfg.bin $(soc_objroot)/pm-cfg.bin $(soc_objroot)/rm-cfg.bin | |
python3 ./scripts/sysfw_boardcfg_blob_creator.py -b $(soc_objroot)/board-cfg.bin -s $(soc_objroot)/sec-cfg.bin -p $(soc_objroot)/pm-cfg.bin -r $(soc_objroot)/rm-cfg.bin -o $@ | |
@@ -237,8 +238,9 @@ $(TIBOOT3): $(SBL) $(SYSFW_PATH) $(SYSFW_HS_INNER_CERT_PATH) $(COMBINED_TIFS_BRD | |
./scripts/gen_x509_combined_cert.sh -b $(SBL) -l $(SBL_LOADADDDR) -s $(SYSFW_PATH) -m $(LOADADDR) -c "$(SYSFW_HS_INNER_CERT_PATH)" -d $(COMBINED_TIFS_BRDCFG) -n $(COMBINED_TIFS_BRDCFG_LOADADDR) -t $(COMBINED_DM_BRDCFG) -y $(COMBINED_DM_BRDCFG_LOADADDR) -k $(KEY) -r $(SW_REV) -o $@ | |
endif | |
+.PHONY: tiboot3.bin | |
tiboot3.bin: $(TIBOOT3) | |
- @ln -sf $< $@ | |
+ @ln -sf $< $(BIN_DIR)/$@ | |
$(soc_objroot)/%.o: %.c | _objtree_build | |
$(CROSS_COMPILE)gcc $(CFLAGS) -c -o $@-pre-validated $< | |
@@ -258,9 +260,9 @@ sysfw_version: $(SYSFW_PATH) | |
clean: | |
-rm -f $(SOC_BINS) $(SOC_PVAL) $(SOC_LOGS) | |
-rm -f $(COMBINED_SYSFW_BRDCFG) $(COMBINED_TIFS_BRDCFG) $(COMBINED_DM_BRDCFG) | |
- -rm -f $(ITB) sysfw.itb | |
+ -rm -f $(ITB) $(BIN_DIR)/sysfw.itb | |
-rm -f $(ITS) | |
- -rm -f $(TIBOOT3) tiboot3.bin | |
+ -rm -f $(TIBOOT3) $(BIN_DIR)/tiboot3.bin | |
-rm -f $(SYSFW_HS_CERTS_PATH) | |
-rm -df $(BIN_DIR) | |
-rm -df $(O)/soc/$(BASE_SOC)/$(CONFIG) && \ | |
-- | |
2.38.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment