imx-bootlets: 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
ac80d686f7
commit
ca34ff76bf
|
|
@ -7,22 +7,18 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425
|
||||||
|
|
||||||
PR = "${DISTRO}.r0"
|
PR = "${DISTRO}.r0"
|
||||||
|
|
||||||
# Uncomment to build the from sources (internal use only)
|
# Uncomment to build from internal GIT repository
|
||||||
# IMX_BOOTLETS_BUILD_SRC ?= "1"
|
# IMX_BOOTLETS_USE_INTERNAL_REPO ?= "1"
|
||||||
|
|
||||||
# Checksums for 'imx-bootlets-${SRCREV_SHORT}.tar.gz' tarballs
|
SRCREV_external = "9ffdf8cc253ba8d46fc4d8286ea054fa4c28c9af"
|
||||||
TARBALL_MD5 = "457c5925dbc5d3ee0839f1dfdb0b7d37"
|
SRCREV_internal = "cc3b1eb94dda62aa737f2289b7a2d3936492a53b"
|
||||||
TARBALL_SHA256 = "eae8c6d7b872a7bb1c689010a11890918f4187a87e1c521f3b2bd80f63a8dd77"
|
SRCREV = "${@base_conditional('IMX_BOOTLETS_USE_INTERNAL_REPO', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
|
||||||
|
|
||||||
SRCREV = "cc3b1eb94dda62aa737f2289b7a2d3936492a53b"
|
SRC_URI_external = "git://github.com/dgii/imx-bootlets.git;protocol=git"
|
||||||
SRCREV_SHORT = "${@'${SRCREV}'[:7]}"
|
SRC_URI_internal = "${DIGI_MTK_GIT}del/imx-bootlets.git;protocol=git"
|
||||||
SRC_URI_git = "${DIGI_MTK_GIT}del/imx-bootlets.git;branch=refs/heads/master;protocol=git"
|
SRC_URI = "${@base_conditional('IMX_BOOTLETS_USE_INTERNAL_REPO', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)}"
|
||||||
SRC_URI_tarball = " \
|
|
||||||
${DIGI_MIRROR}/imx-bootlets-${SRCREV_SHORT}.tar.gz;md5sum=${TARBALL_MD5};sha256sum=${TARBALL_SHA256} \
|
|
||||||
"
|
|
||||||
|
|
||||||
SRC_URI = "${@base_conditional('IMX_BOOTLETS_BUILD_SRC', '1' , '${SRC_URI_git}', '${SRC_URI_tarball}', d)}"
|
S = "${WORKDIR}/git"
|
||||||
S = "${@base_conditional('IMX_BOOTLETS_BUILD_SRC', '1' , '${WORKDIR}/git', '${WORKDIR}/imx-bootlets-${SRCREV_SHORT}', d)}"
|
|
||||||
|
|
||||||
# Disable parallel building or it may fail to build.
|
# Disable parallel building or it may fail to build.
|
||||||
PARALLEL_MAKE = ""
|
PARALLEL_MAKE = ""
|
||||||
|
|
@ -33,16 +29,16 @@ EXTRA_OEMAKE_append_cpx2 = " BOARD=CPX2"
|
||||||
EXTRA_OEMAKE_append_wr21 = " BOARD=WR21"
|
EXTRA_OEMAKE_append_wr21 = " BOARD=WR21"
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
install -d ${STAGING_DIR_TARGET}/boot/
|
install -d ${STAGING_DIR_TARGET}/boot
|
||||||
install -m 644 boot_prep/boot_prep power_prep/power_prep \
|
install -m 644 boot_prep/boot_prep power_prep/power_prep \
|
||||||
linux_prep/output-target/linux_prep \
|
linux_prep/output-target/linux_prep \
|
||||||
uboot.bd uboot_ivt.bd linux.bd linux_ivt.bd \
|
uboot.bd uboot_ivt.bd linux.bd linux_ivt.bd \
|
||||||
${STAGING_DIR_TARGET}/boot
|
${STAGING_DIR_TARGET}/boot
|
||||||
install -d ${D}/boot/
|
install -d ${D}/boot
|
||||||
install -m 644 boot_prep/boot_prep power_prep/power_prep \
|
install -m 644 boot_prep/boot_prep power_prep/power_prep \
|
||||||
linux_prep/output-target/linux_prep \
|
linux_prep/output-target/linux_prep \
|
||||||
uboot.bd uboot_ivt.bd linux.bd linux_ivt.bd \
|
uboot.bd uboot_ivt.bd linux.bd linux_ivt.bd \
|
||||||
${D}/boot
|
${D}/boot
|
||||||
}
|
}
|
||||||
|
|
||||||
FILES_${PN} = "/boot"
|
FILES_${PN} = "/boot"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue