mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
uboot: Deploy default symlinks with fitImage
Some image recipes uses ${DEPLOY_DIR_IMAGE}/${UBOOT_BINARY} to create
their images. Force the re-creation of those symlinks pointing to the
u-boot-fitImage in case UBOOT_FITIMAGE_ENABLE is set.
(From OE-Core rev: 11a016aaf243a110f7139ea052fd4e568aad40dd)
Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
58bda8b1c2
commit
5d9a91a2ae
@@ -123,6 +123,15 @@ do_deploy_prepend_pn-${UBOOT_PN}() {
|
||||
fi
|
||||
}
|
||||
|
||||
do_deploy_append_pn-${UBOOT_PN}() {
|
||||
# If we're creating a u-boot fitImage, point u-boot.bin
|
||||
# symlink since it might get used by image recipes
|
||||
if [ "${UBOOT_FITIMAGE_ENABLE}" = "1" ] ; then
|
||||
ln -sf ${UBOOT_FITIMAGE_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
|
||||
ln -sf ${UBOOT_FITIMAGE_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
|
||||
fi
|
||||
}
|
||||
|
||||
python () {
|
||||
if d.getVar('UBOOT_SIGN_ENABLE') == '1' and d.getVar('PN') == d.getVar('UBOOT_PN') and d.getVar('UBOOT_DTB_BINARY'):
|
||||
kernel_pn = d.getVar('PREFERRED_PROVIDER_virtual/kernel')
|
||||
|
||||
Reference in New Issue
Block a user