meta-digi-arm: Add tarball build for u-boot-imx.
https://jira.digi.com/browse/DEL-362 Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
745cdf990f
commit
fee69491de
|
|
@ -4,9 +4,25 @@ DESCRIPTION = "bootloader for Digi platforms"
|
||||||
|
|
||||||
PR_append = "+${DISTRO}.r0"
|
PR_append = "+${DISTRO}.r0"
|
||||||
|
|
||||||
SRCREV_mxs = "${AUTOREV}"
|
# Uncomment to build the from sources (internal use only)
|
||||||
SRCREV_mx5 = "${AUTOREV}"
|
# UBOOT_BUILD_SRC ?= "1"
|
||||||
SRC_URI = "${DIGI_LOG_GIT}u-boot-denx.git;protocol=git;branch=refs/heads/master"
|
|
||||||
|
SRCREV_mxs = "57dc7fb843484ff0099f6e5f5a2528a7a2dd1766"
|
||||||
|
SRCREV_mx5 = "57dc7fb843484ff0099f6e5f5a2528a7a2dd1766"
|
||||||
|
SRCREV_SHORT = "${@'${SRCREV}'[:7]}"
|
||||||
|
|
||||||
|
# Checksums for 'u-boot-denx-${SRCREV_SHORT}.tar.gz' tarballs
|
||||||
|
TARBALL_MD5 = "a6d29ccd750719b82c366b5cbc890212"
|
||||||
|
TARBALL_SHA256 = "7b387f1e246e8c44cd561b68ba9c7182915e13b460b6f16b6b2013a6d6aaa302"
|
||||||
|
|
||||||
|
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)}"
|
||||||
|
|
||||||
DEPENDS_mxs_ccardimx28js += "elftosb-native imx-bootlets-del"
|
DEPENDS_mxs_ccardimx28js += "elftosb-native imx-bootlets-del"
|
||||||
DEPENDS_mxs_cpx2 += "elftosb-native imx-bootlets-del"
|
DEPENDS_mxs_cpx2 += "elftosb-native imx-bootlets-del"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue