summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot-toradex-common.inc
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-08-23 16:34:03 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2023-09-21 08:13:10 -0300
commit7a2d6ff06fa18d561522b14a937d20b2265067c1 (patch)
tree154b724988a856f4f219abdab617414a190719e6 /recipes-bsp/u-boot/u-boot-toradex-common.inc
parentc907c047234f3691fc285f937aed3f4f8bb4af98 (diff)
u-boot-toradex: split into a release/pinned and latest head recipe
This reduces confusion about the current solution on what version gets built with use-head-next. This drops using the `use-head-next` override in favour of having two recipes. Which recipe is to be built will then be set in the various <machine.conf> files. To reduce code duplication split out common code into a inc file and further split out i.MX and TI specific stuff into two specific inc files. Related-to: ELB-5357 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-toradex-common.inc')
-rw-r--r--recipes-bsp/u-boot/u-boot-toradex-common.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-toradex-common.inc b/recipes-bsp/u-boot/u-boot-toradex-common.inc
new file mode 100644
index 0000000..a98d679
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-toradex-common.inc
@@ -0,0 +1,18 @@
+require recipes-bsp/u-boot/u-boot-common.inc
+require recipes-bsp/u-boot/u-boot.inc
+SOC_HANDLING = ""
+SOC_HANDLING:imx = "recipes-bsp/u-boot/u-boot-toradex-imx.inc"
+SOC_HANDLING:ti-soc = "recipes-bsp/u-boot/u-boot-toradex-ti.inc"
+require ${SOC_HANDLING}
+
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1"
+DEPENDS += "bc-native dtc-native"
+
+SRC_URI = " \
+ git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master \
+ ${TDX_PATCHES} \
+"
+
+inherit toradex-u-boot-localversion
+
+UBOOT_INITIAL_ENV = "u-boot-initial-env"