u-boot: get code from github
https://jira.digi.com/browse/DEL-472 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
7ad6a5e63a
commit
41809501fb
|
|
@ -11,29 +11,22 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b"
|
|||
PR = "r0"
|
||||
|
||||
# Uncomment to build the from sources (internal use only)
|
||||
# UBOOT_BUILD_SRC ?= "1"
|
||||
# UBOOT_USE_INTERNAL_REPO ?= "1"
|
||||
|
||||
SRCREV = "4af0b5f73215c6f075e17f866d831a948d777a2a"
|
||||
SRCREV_SHORT = "${@'${SRCREV}'[:7]}"
|
||||
SRCREV_external = "107e05c6fff8ccae6d5eeb6a39d7efd57694e544"
|
||||
SRCREV_internal = "4af0b5f73215c6f075e17f866d831a948d777a2a"
|
||||
SRCREV = "${@base_conditional('UBOOT_USE_INTERNAL_REPO', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
|
||||
|
||||
# Checksums for 'u-boot-denx-${SRCREV_SHORT}.tar.gz' tarballs
|
||||
TARBALL_MD5 = "73da801842acd3f8ac7200c13e005c89"
|
||||
TARBALL_SHA256 = "f86e05317eadf3e868da3b301e0e6e95b6fdb9daebed4cb3f8494809fbe31b03"
|
||||
SRC_URI_external = "git://github.com/dgii/yocto-uboot.git;protocol=git"
|
||||
SRC_URI_internal = "${DIGI_LOG_GIT}u-boot-denx.git;protocol=git"
|
||||
SRC_URI = "${@base_conditional('UBOOT_USE_INTERNAL_REPO', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)}"
|
||||
|
||||
SRC_URI_git = "${DIGI_LOG_GIT}u-boot-denx.git;protocol=git;branch=refs/heads/master"
|
||||
SRC_URI_tarball = " \
|
||||
${DIGI_MIRROR}/u-boot-denx-${SRCREV_SHORT}.tar.gz;md5sum=${TARBALL_MD5};sha256sum=${TARBALL_SHA256} \
|
||||
"
|
||||
|
||||
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)}"
|
||||
EXTRA_OEMAKE += 'HOSTSTRIP=true'
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
DEPENDS_mxs += "elftosb-native imx-bootlets-del"
|
||||
|
||||
BOOTLETSDIR_mxs = "BOOTLETS_DIR=${STAGING_DIR_TARGET}/boot/"
|
||||
EXTRA_OEMAKE += '${BOOTLETSDIR}'
|
||||
EXTRA_OEMAKE += 'HOSTSTRIP=true'
|
||||
EXTRA_OEMAKE_append_mxs = ' BOOTLETS_DIR=${STAGING_DIR_TARGET}/boot'
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "(ccardimx28js|ccimx51js|ccimx53js|cpx2|wr21)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue