Commit ed9bae6a authored by Pali Rohár's avatar Pali Rohár Committed by Manish Pandey
Browse files

plat: marvell: armada: a3k: Use make ifeq/endif syntax for $(MARVELL_SECURE_BOOT) code

Signed-off-by: default avatarPali Rohár <>
Change-Id: Id766db4a900a56c795fe5ffdd8a2b80b1aaa2132
parent bafc9476
...@@ -170,11 +170,15 @@ ifeq ($(MARVELL_SECURE_BOOT),1) ...@@ -170,11 +170,15 @@ ifeq ($(MARVELL_SECURE_BOOT),1)
endif endif
@if [ -e "$(TIMNCFG)" ]; then $(DOIMAGETOOL) -r $(TIMNCFG); fi @if [ -e "$(TIMNCFG)" ]; then $(DOIMAGETOOL) -r $(TIMNCFG); fi
@if [ "$(MARVELL_SECURE_BOOT)" = "1" ]; then sed -i 's|$(WTMI_MULTI_IMG)|$(WTMI_ENC_IMG)|1;s|$(BOOT_IMAGE)|$(BOOT_ENC_IMAGE)|1;' $(TIMNCFG); fi ifeq ($(MARVELL_SECURE_BOOT),1)
@if [ "$(MARVELL_SECURE_BOOT)" = "1" ]; then mv -t $(BUILD_PLAT) OtpHash.txt; fi ifeq ($(MARVELL_SECURE_BOOT),1)
@mv -t $(BUILD_PLAT) OtpHash.txt
@find . -name "*.txt" | grep -E "CSK[[:alnum:]]_KeyHash.txt|Tim_msg.txt|TIMHash.txt" | xargs rm -f @find . -name "*.txt" | grep -E "CSK[[:alnum:]]_KeyHash.txt|Tim_msg.txt|TIMHash.txt" | xargs rm -f
else # ${WTP} else # ${WTP}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment