Skip to contentSkip to conversation

u-boot-ti: remove initial-env, it's safe to depend on optee now

PATCH New Denys Dmytriyenko 1 participant 1 message Apr 30, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 u-boot-ti: remove initial-env, it's safe to depend on optee now

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/u-boot/u-boot-ti.inc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
recipes-bsp/u-boot/u-boot-ti.inc +7 -5
index a4a15f6..736efc0 100644
@@ -36,8 +36,7 @@ DEPENDS += "dtc-native bc-native lzop-native flex-native bison-native"
 PACKAGECONFIG[atf] = "ATF=${STAGING_DIR_HOST}/boot/bl31.bin,,arm-trusted-firmware"
 PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}/boot/bl32.bin,,optee-os"
 
-# optee-os is not a direct dependency, do not enable optee by default
-PACKAGECONFIG_append_k3 = " atf"
+PACKAGECONFIG_append_aarch64 = " atf optee"
 
 EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"
 
@@ -258,9 +257,12 @@ do_deploy_append () {
 		fi
 	fi
 
-	mv ${DEPLOYDIR}/u-boot-initial-env ${DEPLOYDIR}/${PN}-initial-env || true
-	mv ${DEPLOYDIR}/u-boot-initial-env-${MACHINE} ${DEPLOYDIR}/${PN}-initial-env-${MACHINE} || true
-	mv ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${PV}-${PR} ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR} || true
+	rm ${DEPLOYDIR}/u-boot-initial-env || true
+	rm ${DEPLOYDIR}/${PN}-initial-env || true
+	rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE} || true
+	rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE} || true
+	rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${PV}-${PR} || true
+	rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR} || true
 }
 
 do_install_append_keystone () {
Signature · 1 line
2.7.4