From 0e38f724a06cc308c016ecb996bb7bc9cb83a6b6 Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Wed, 5 Aug 2020 19:16:34 +0200 Subject: u-boot-toradex: drop u-boot-toradex-initial-env.inc The initial env has been implemented in OE, we dont need maintain this. Related-to: ELB-2553 Signed-off-by: Ming Liu --- recipes-bsp/u-boot/u-boot-toradex-initial-env.inc | 71 ----------------------- 1 file changed, 71 deletions(-) delete mode 100644 recipes-bsp/u-boot/u-boot-toradex-initial-env.inc diff --git a/recipes-bsp/u-boot/u-boot-toradex-initial-env.inc b/recipes-bsp/u-boot/u-boot-toradex-initial-env.inc deleted file mode 100644 index 2287242..0000000 --- a/recipes-bsp/u-boot/u-boot-toradex-initial-env.inc +++ /dev/null @@ -1,71 +0,0 @@ -# This provides uEnv.txt files containing default environment using -# U-Boot build system - -do_compile_append() { - - if [ -n "${UBOOT_CONFIG}" ]; then - unset i j k - for config in ${UBOOT_MACHINE}; do - i=$(expr $i + 1); - for type in ${UBOOT_CONFIG}; do - j=$(expr $j + 1); - if [ $j -eq $i ]; then - oe_runmake -C ${S} O=${B}/${config} u-boot-initial-env - cp ${B}/${config}/u-boot-initial-env ${B}/${config}/uEnv-${type}.txt - fi - done - unset j - done - unset i - else - oe_runmake -C ${S} O=${B} u-boot-initial-env - cp ${B}/u-boot-initial-env ${B}/uEnv.txt - fi -} - - -do_install_append() { - if [ -n "${UBOOT_CONFIG}" ]; then - for config in ${UBOOT_MACHINE}; do - i=$(expr $i + 1); - for type in ${UBOOT_CONFIG}; do - j=$(expr $j + 1); - if [ $j -eq $i ]; then - install -d ${D}/boot - install -m 644 ${B}/${config}/uEnv-${type}.txt ${D}/boot/uEnv-${type}-${PV}-${PR}.txt - ln -sf uEnv-${type}-${PV}-${PR}.txt ${D}/boot/uEnv-${type}.txt - ln -sf uEnv-${type}-${PV}-${PR}.txt ${D}/boot/uEnv.txt - fi - done - unset j - done - unset i - else - install -d ${D}/boot - install -m 644 ${B}/uEnv.txt ${D}/boot/uEnv-${MACHINE}-${PV}-${PR}.txt - ln -sf uEnv-${MACHINE}-${PV}-${PR}.txt ${D}/boot/uEnv.txt - fi -} - -do_deploy_append() { - if [ -n "${UBOOT_CONFIG}" ]; then - for config in ${UBOOT_MACHINE}; do - i=$(expr $i + 1); - for type in ${UBOOT_CONFIG}; do - j=$(expr $j + 1); - if [ $j -eq $i ]; then - install -d ${DEPLOYDIR} - install -m 644 ${B}/${config}/uEnv-${type}.txt ${DEPLOYDIR}/uEnv-${type}-${PV}-${PR}.txt - ln -sf uEnv-${type}-${PV}-${PR}.txt ${DEPLOYDIR}/uEnv-${type}.txt - ln -sf uEnv-${type}-${PV}-${PR}.txt ${DEPLOYDIR}/uEnv.txt - fi - done - unset j - done - unset i - else - install -d ${DEPLOYDIR} - install -m 644 ${B}/uEnv.txt ${DEPLOYDIR}/uEnv-${MACHINE}-${PV}-${PR}.txt - ln -sf uEnv-${MACHINE}-${PV}-${PR}.txt ${DEPLOYDIR}/uEnv.txt - fi -} -- cgit v1.2.3