summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMing Liu <ming.liu@toradex.com>2020-05-15 18:49:28 +0200
committerMing Liu <ming.liu@toradex.com>2020-05-24 18:32:57 +0200
commit79daa8e8a77758b43f758546579a13e8f0f68aa6 (patch)
treebef2afa86a4c2ed11ffed6b045484198c21a6545
parent1f5d1d2cb0bf8711c93de21bccc6e87bea96253a (diff)
u-boot-toradex-env.inc: drop file
Since we already have u-boot-toradex-initial-env.inc file, and no other recipes are referring u-boot-toradex-env.inc, we could drop it now. Signed-off-by: Ming Liu <ming.liu@toradex.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-toradex-env.inc74
1 files changed, 0 insertions, 74 deletions
diff --git a/recipes-bsp/u-boot/u-boot-toradex-env.inc b/recipes-bsp/u-boot/u-boot-toradex-env.inc
deleted file mode 100644
index 74c0b49..0000000
--- a/recipes-bsp/u-boot/u-boot-toradex-env.inc
+++ /dev/null
@@ -1,74 +0,0 @@
-# This provides uEnv.txt files containing default environment.
-
-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
- cp ${B}/${config}/common/env_common.o ${TMPDIR}/uboot.env-${config}
- ${OBJCOPY} -O binary -j ".rodata.default_environment" ${TMPDIR}/uboot.env-${config}
- tr '\0' '\n' < ${TMPDIR}/uboot.env-${config} | sed -e '/^$/d' > ${B}/${config}/uEnv-${type}.txt
- rm ${TMPDIR}/uboot.env-${config}
- fi
- done
- unset j
- done
- unset i
- else
- cp ${B}/common/env_common.o ${TMPDIR}/uboot.env
- ${OBJCOPY} -O binary -j ".rodata.default_environment" ${TMPDIR}/uboot.env
- tr '\0' '\n' < ${TMPDIR}/uboot.env | sed -e '/^$/d' > ${B}/uEnv.txt
- rm ${TMPDIR}/uboot.env
- 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
-}