diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2019-05-21 16:59:42 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2019-05-21 17:55:08 +0200 |
commit | 5ec8b6f918adcbd43a1d464bc1d44f5bbb830817 (patch) | |
tree | 6b45c81fd1be476a6290b24b594a32013d1ede12 /recipes-bsp/u-boot | |
parent | d4e258f286d748a25a48d323bd1af5865b7ba7c9 (diff) |
u-boot-toradex_2018.03: split common definitions into a inc file
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp/u-boot')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-toradex-common_2018.03.inc | 19 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-toradex_2018.03.bb | 22 |
2 files changed, 20 insertions, 21 deletions
diff --git a/recipes-bsp/u-boot/u-boot-toradex-common_2018.03.inc b/recipes-bsp/u-boot/u-boot-toradex-common_2018.03.inc new file mode 100644 index 0000000..73f80bf --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-toradex-common_2018.03.inc @@ -0,0 +1,19 @@ +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +UBOOT_SRC ?= "git://git.toradex.com/u-boot-toradex.git;protocol=https" +SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}" + +SRCREV = "d8881436c79c2ace86c6e06db23678c79b5d52f6" +SRCBRANCH = "toradex_imx_v2018.03_4.14.78_1.0.0_ga-bringup" +SRCREV_use-head-next = "${AUTOREV}" +SRCBRANCH_use-head-next = "toradex_imx_v2018.03_4.14.78_1.0.0_ga-bringup" + +S = "${WORKDIR}/git" + +inherit fsl-u-boot-localversion + +LOCALVERSION ?= "-${SRCBRANCH}" + +COMPATIBLE_MACHINE = "(mx8)" +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/recipes-bsp/u-boot/u-boot-toradex_2018.03.bb b/recipes-bsp/u-boot/u-boot-toradex_2018.03.bb index 5ad2ae8..c004a82 100644 --- a/recipes-bsp/u-boot/u-boot-toradex_2018.03.bb +++ b/recipes-bsp/u-boot/u-boot-toradex_2018.03.bb @@ -1,34 +1,14 @@ SUMMARY = "U-Boot bootloader with support for Toradex i.MX8 SoM" require recipes-bsp/u-boot/u-boot.inc require recipes-bsp/u-boot/u-boot-toradex-initial-env.inc +require u-boot-toradex-common_${PV}.inc inherit pythonnative PROVIDES += "u-boot" DEPENDS_append = " python dtc-native" -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -UBOOT_SRC ?= "git://git.toradex.com/u-boot-toradex.git;protocol=https" -SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}" - -SRCREV = "d8881436c79c2ace86c6e06db23678c79b5d52f6" -SRCBRANCH = "toradex_imx_v2018.03_4.14.78_1.0.0_ga-bringup" -SRCREV_use-head-next = "${AUTOREV}" -SRCBRANCH_use-head-next = "toradex_imx_v2018.03_4.14.78_1.0.0_ga-bringup" - -S = "${WORKDIR}/git" - -inherit fsl-u-boot-localversion - -LOCALVERSION ?= "-${SRCBRANCH}" - BOOT_TOOLS = "imx-boot-tools" -PACKAGE_ARCH = "${MACHINE_ARCH}" -#COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" -COMPATIBLE_MACHINE = "(mx8)" - UBOOT_NAME_mx6 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" UBOOT_NAME_mx7 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" UBOOT_NAME_mx8 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" |