diff options
author | Vivien Didelot <vivien.didelot@gmail.com> | 2022-01-10 11:56:39 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-21 14:44:27 +0000 |
commit | 66a76e7cc7b8be2965e7cd9093053f8e5ab71a96 (patch) | |
tree | 180969a859f1eb54f09e3f37244ba96871807af1 /meta-yocto-bsp/conf | |
parent | fc9a17ad386cef166c40b8da7511604ede83fb61 (diff) | |
download | poky-66a76e7cc7b8be2965e7cd9093053f8e5ab71a96.tar.gz |
beaglebone-yocto: prefer u-boot
If BBLAYERS contains a layer providing a package for
virtual/bootloader, building for the beaglebone-yocto machine will
fail. Setting u-boot as the preferred provider for virtual/bootloader
ensures u-boot is choosen and the build succeeds.
(From meta-yocto rev: 2ffbaf54f4d88ba251d282c90755ea964d224ba6)
Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/conf')
-rw-r--r-- | meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf index a5cb16cd93..9eb83cce84 100644 --- a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +++ b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | |||
@@ -30,6 +30,8 @@ KERNEL_IMAGETYPE = "zImage" | |||
30 | KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" | 30 | KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" |
31 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" | 31 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" |
32 | 32 | ||
33 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot" | ||
34 | |||
33 | SPL_BINARY = "MLO" | 35 | SPL_BINARY = "MLO" |
34 | UBOOT_SUFFIX = "img" | 36 | UBOOT_SUFFIX = "img" |
35 | UBOOT_MACHINE = "am335x_evm_defconfig" | 37 | UBOOT_MACHINE = "am335x_evm_defconfig" |