meta-digi-arm: share nvram and u-boot revisions
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
9274b5e254
commit
23c8fec37b
|
|
@ -5,17 +5,12 @@ SECTION = "base"
|
||||||
LICENSE = "GPL-2.0"
|
LICENSE = "GPL-2.0"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
|
|
||||||
|
require recipes-bsp/u-boot/u-boot-dey-rev.inc
|
||||||
|
|
||||||
PR = "${DISTRO}.r0"
|
PR = "${DISTRO}.r0"
|
||||||
|
|
||||||
DEPENDS = "libdigi"
|
DEPENDS = "libdigi"
|
||||||
|
|
||||||
SRCREV_external = "107e05c6fff8ccae6d5eeb6a39d7efd57694e544"
|
|
||||||
SRCREV_internal = "4af0b5f73215c6f075e17f866d831a948d777a2a"
|
|
||||||
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
|
|
||||||
|
|
||||||
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-uboot.git;protocol=git"
|
|
||||||
SRC_URI_internal = "${DIGI_LOG_GIT}u-boot-denx.git;protocol=git"
|
|
||||||
SRC_URI = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)}"
|
|
||||||
SRC_URI += " \
|
SRC_URI += " \
|
||||||
file://main.c \
|
file://main.c \
|
||||||
file://nvram_priv_linux.c \
|
file://nvram_priv_linux.c \
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
# Copyright (C) 2013 Digi International
|
||||||
|
|
||||||
|
SRCREV_external = "62c951f321fc4ea40a70d85714c55520830e5acd"
|
||||||
|
SRCREV_internal = "61ac25cbf81c10bda9e3a74005734f5e419aee5c"
|
||||||
|
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
|
||||||
|
|
||||||
|
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-uboot.git;protocol=git"
|
||||||
|
SRC_URI_internal = "${DIGI_LOG_GIT}u-boot-denx.git;protocol=git"
|
||||||
|
SRC_URI = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)}"
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
DESCRIPTION = "Bootloader for Digi platforms"
|
DESCRIPTION = "Bootloader for Digi platforms"
|
||||||
require recipes-bsp/u-boot/u-boot.inc
|
require recipes-bsp/u-boot/u-boot.inc
|
||||||
|
include u-boot-dey-rev.inc
|
||||||
|
|
||||||
PROVIDES += "u-boot"
|
PROVIDES += "u-boot"
|
||||||
|
|
||||||
|
|
@ -10,14 +11,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b"
|
||||||
|
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
|
||||||
SRCREV_external = "62c951f321fc4ea40a70d85714c55520830e5acd"
|
|
||||||
SRCREV_internal = "61ac25cbf81c10bda9e3a74005734f5e419aee5c"
|
|
||||||
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
|
|
||||||
|
|
||||||
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-uboot.git;protocol=git"
|
|
||||||
SRC_URI_internal = "${DIGI_LOG_GIT}u-boot-denx.git;protocol=git"
|
|
||||||
SRC_URI = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)}"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
DEPENDS_mxs += "elftosb-native imx-bootlets-dey"
|
DEPENDS_mxs += "elftosb-native imx-bootlets-dey"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue