summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMing Liu <ming.liu@toradex.com>2020-06-02 11:11:44 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-06-02 22:59:42 +0200
commitb7610fde4a462b54feff7e8fa4df500d28e643a0 (patch)
tree6570d7f8c2e5dda567176e75886f82fb5239d679
parent705474d450a4a81faf385d77e6c8144fe0b3f1a3 (diff)
apalis-tk1: fix wrong PREFERRED_PROVIDER_u-boot
PREFERRED_PROVIDER_u-boot should be 'u-boot-toradex-tk1' instead of 'u-boot-toradex', also set PROVIDES += "u-boot" in u-boot-tk1 recipe. Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit c9180b9e9b1231c8139bbfb47f51acb5692235dc)
-rw-r--r--conf/machine/apalis-tk1.conf2
-rw-r--r--recipes-bsp/u-boot/u-boot-toradex-tk1_2019.07.bb2
2 files changed, 3 insertions, 1 deletions
diff --git a/conf/machine/apalis-tk1.conf b/conf/machine/apalis-tk1.conf
index 6fbc589..23aacc3 100644
--- a/conf/machine/apalis-tk1.conf
+++ b/conf/machine/apalis-tk1.conf
@@ -39,7 +39,7 @@ WIC_CREATE_EXTRA_ARGS_append = " --no-fstab-update"
# The kernel lives in a seperate FAT or UBI partition, don't deploy it in /boot
RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
-PREFERRED_PROVIDER_u-boot = "u-boot-toradex"
+PREFERRED_PROVIDER_u-boot = "u-boot-toradex-tk1"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex-tk1"
PREFERRED_PROVIDER_u-boot-fw-utils ?= "u-boot-toradex-fw-utils-tk1"
UBOOT_MACHINE = "apalis-tk1_defconfig"
diff --git a/recipes-bsp/u-boot/u-boot-toradex-tk1_2019.07.bb b/recipes-bsp/u-boot/u-boot-toradex-tk1_2019.07.bb
index 5385b20..d3613fd 100644
--- a/recipes-bsp/u-boot/u-boot-toradex-tk1_2019.07.bb
+++ b/recipes-bsp/u-boot/u-boot-toradex-tk1_2019.07.bb
@@ -5,6 +5,8 @@ require recipes-bsp/u-boot/u-boot-toradex-initial-env.inc
DEPENDS += "bc-native dtc-native"
DEPENDS_append_apalis-tk1 = " cbootimage-native"
+PROVIDES += "u-boot"
+
COMPATIBLE_MACHINE = "(apalis-tk1)"
SRC_URI_append_apalis-tk1 = " \