meta-digi-arm: create complete u-boot recipe (instead of bbappend)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
ce54d81e66
commit
7ad6a5e63a
|
|
@ -1,6 +1,6 @@
|
||||||
# Digi BSP default providers
|
# Digi BSP default providers
|
||||||
PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-imx"
|
PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-imx"
|
||||||
PREFERRED_PROVIDER_u-boot ?= "u-boot-imx"
|
PREFERRED_PROVIDER_u-boot ?= "u-boot-del"
|
||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-del"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-del"
|
||||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,19 @@
|
||||||
# Copyright (C) 2012 Digi International
|
# Copyright (C) 2012 Digi International
|
||||||
|
|
||||||
DESCRIPTION = "bootloader for Digi platforms"
|
DESCRIPTION = "Bootloader for Digi platforms"
|
||||||
|
require recipes-bsp/u-boot/u-boot.inc
|
||||||
|
|
||||||
PRINC := "${@int(PRINC) + 1}"
|
PROVIDES += "u-boot"
|
||||||
PR_append = "+${DISTRO}"
|
|
||||||
|
LICENSE = "GPLv2+"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b"
|
||||||
|
|
||||||
|
PR = "r0"
|
||||||
|
|
||||||
# Uncomment to build the from sources (internal use only)
|
# Uncomment to build the from sources (internal use only)
|
||||||
# UBOOT_BUILD_SRC ?= "1"
|
# UBOOT_BUILD_SRC ?= "1"
|
||||||
|
|
||||||
SRCREV_mxs = "4af0b5f73215c6f075e17f866d831a948d777a2a"
|
SRCREV = "4af0b5f73215c6f075e17f866d831a948d777a2a"
|
||||||
SRCREV_mx5 = "4af0b5f73215c6f075e17f866d831a948d777a2a"
|
|
||||||
SRCREV_SHORT = "${@'${SRCREV}'[:7]}"
|
SRCREV_SHORT = "${@'${SRCREV}'[:7]}"
|
||||||
|
|
||||||
# Checksums for 'u-boot-denx-${SRCREV_SHORT}.tar.gz' tarballs
|
# Checksums for 'u-boot-denx-${SRCREV_SHORT}.tar.gz' tarballs
|
||||||
|
|
@ -24,15 +28,12 @@ SRC_URI_tarball = " \
|
||||||
SRC_URI = "${@base_conditional('UBOOT_BUILD_SRC', '1' , '${SRC_URI_git}', '${SRC_URI_tarball}', d)}"
|
SRC_URI = "${@base_conditional('UBOOT_BUILD_SRC', '1' , '${SRC_URI_git}', '${SRC_URI_tarball}', d)}"
|
||||||
|
|
||||||
S = "${@base_conditional('UBOOT_BUILD_SRC', '1' , '${WORKDIR}/git', '${WORKDIR}/u-boot-denx-${SRCREV_SHORT}', d)}"
|
S = "${@base_conditional('UBOOT_BUILD_SRC', '1' , '${WORKDIR}/git', '${WORKDIR}/u-boot-denx-${SRCREV_SHORT}', d)}"
|
||||||
|
EXTRA_OEMAKE += 'HOSTSTRIP=true'
|
||||||
|
|
||||||
DEPENDS_mxs += "elftosb-native imx-bootlets-del"
|
DEPENDS_mxs += "elftosb-native imx-bootlets-del"
|
||||||
|
|
||||||
BOOTLETSDIR_mxs = "BOOTLETS_DIR=${STAGING_DIR_TARGET}/boot/"
|
BOOTLETSDIR_mxs = "BOOTLETS_DIR=${STAGING_DIR_TARGET}/boot/"
|
||||||
EXTRA_OEMAKE += '${BOOTLETSDIR}'
|
EXTRA_OEMAKE += '${BOOTLETSDIR}'
|
||||||
|
|
||||||
# The meta-fsl-arm recipe overrides this so it needs to be done here again.
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
UBOOT_MAKE_TARGET_ccardimx28js = "u-boot-ivt.sb"
|
|
||||||
UBOOT_MAKE_TARGET_cpx2 = "u-boot-ivt.sb"
|
|
||||||
UBOOT_MAKE_TARGET_wr21 = "u-boot-ivt.sb"
|
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "(ccardimx28js|ccimx51js|ccimx53js|cpx2|wr21)"
|
COMPATIBLE_MACHINE = "(ccardimx28js|ccimx51js|ccimx53js|cpx2|wr21)"
|
||||||
Loading…
Reference in New Issue