gatesgarth migration: u-boot-dey: introduce UBOOT_INITIAL_ENV
This default environment is needed by packages like libubootenv. https://jira.digi.com/browse/DEL-7508 Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
59270e9ca1
commit
867386c5c8
|
|
@ -80,6 +80,13 @@ do_compile () {
|
||||||
cp ${B}/${config}/${binary} ${B}/${config}/u-boot-${type}.${UBOOT_SUFFIX}
|
cp ${B}/${config}/${binary} ${B}/${config}/u-boot-${type}.${UBOOT_SUFFIX}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Generate the uboot-initial-env
|
||||||
|
if [ -n "${UBOOT_INITIAL_ENV}" ]; then
|
||||||
|
oe_runmake -C ${S} O=${B}/${config} u-boot-initial-env
|
||||||
|
cp ${B}/${config}/u-boot-initial-env ${B}/${config}/u-boot-initial-env-${type}
|
||||||
|
fi
|
||||||
|
|
||||||
unset k
|
unset k
|
||||||
|
|
||||||
# Secure boot artifacts
|
# Secure boot artifacts
|
||||||
|
|
@ -100,6 +107,11 @@ do_compile () {
|
||||||
else
|
else
|
||||||
oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE}
|
oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE}
|
||||||
oe_runmake -C ${S} O=${B} ${UBOOT_MAKE_TARGET}
|
oe_runmake -C ${S} O=${B} ${UBOOT_MAKE_TARGET}
|
||||||
|
|
||||||
|
# Generate the uboot-initial-env
|
||||||
|
if [ -n "${UBOOT_INITIAL_ENV}" ]; then
|
||||||
|
oe_runmake -C ${S} O=${B} u-boot-initial-env
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue