Skip to content

Commit 6582bc6

Browse files
u-boot: update compile append to use builddir (#1128)
oe-core [1] updated the default build path to be unique for each UBOOT_CONFIG, so update local append to use the new builddir variable instead of the old config one. [1] https://git.openembedded.org/openembedded-core/commit/?id=22e96b32b0be02ec0971c9334d4b1df7c9ef8d84
2 parents f3df40e + cb0b19c commit 6582bc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipes-bsp/u-boot/u-boot_%.bbappend

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ COMPILE_EXTRA_DEPENDS:qcom = "virtual/kernel:do_deploy"
88
do_compile[depends] += "${COMPILE_EXTRA_DEPENDS}"
99

1010
uboot_compile_config:append:qcom() {
11-
cd ${B}/${config}
11+
cd ${B}/${builddir}
1212
touch empty-file
1313
rm -f u-boot-nodtb.bin.gz
1414
gzip -k u-boot-nodtb.bin
@@ -18,5 +18,5 @@ uboot_compile_config:append:qcom() {
1818

1919
# Symlink the 'main' u-boot.bin to boot.img so the qcom image bbclass pick it up
2020
uboot_deploy_config:append:qcom() {
21-
cd ${DEPLOYDIR} && ln -sf u-boot-${type}-${PV}-${PR}.bin boot-${MACHINE}.img
21+
cd ${DEPLOYDIR} && ln -sf u-boot-${type}-${PV}-${PR}.bin boot-${MACHINE}.img
2222
}

0 commit comments

Comments
 (0)