meta-digi-arm: parameterize the kernel branch
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
2d185c858d
commit
16b0ccf3e2
|
|
@ -4,6 +4,9 @@ include linux-dey.inc
|
||||||
|
|
||||||
PR = "${DISTRO}.${INC_PR}.0"
|
PR = "${DISTRO}.${INC_PR}.0"
|
||||||
|
|
||||||
|
KBRANCH_DEFAULT = "del-5.9/meta-digi"
|
||||||
|
KBRANCH = "${KBRANCH_DEFAULT}"
|
||||||
|
|
||||||
SRCREV_external = ""
|
SRCREV_external = ""
|
||||||
SRCREV_internal = "${AUTOREV}"
|
SRCREV_internal = "${AUTOREV}"
|
||||||
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
|
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
|
||||||
|
|
@ -12,7 +15,7 @@ LOCALVERSION_mx5 = "mx5"
|
||||||
LOCALVERSION_mxs = "mxs"
|
LOCALVERSION_mxs = "mxs"
|
||||||
|
|
||||||
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-linux.git;protocol=git"
|
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-linux.git;protocol=git"
|
||||||
SRC_URI_internal = "${DIGI_GIT}linux-2.6.git;protocol=git;branch=del-5.9/meta-digi"
|
SRC_URI_internal = "${DIGI_GIT}linux-2.6.git;protocol=git;branch=${KBRANCH}"
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)} \
|
${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)} \
|
||||||
file://defconfig \
|
file://defconfig \
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,10 @@ include linux-dey.inc
|
||||||
|
|
||||||
PR = "${DISTRO}.${INC_PR}.0"
|
PR = "${DISTRO}.${INC_PR}.0"
|
||||||
|
|
||||||
|
KBRANCH_DEFAULT = "v3.10/master"
|
||||||
|
KBRANCH = "${KBRANCH_DEFAULT}"
|
||||||
|
KBRANCH_mxs = "v3.10.y/maint"
|
||||||
|
|
||||||
SRCREV_external = ""
|
SRCREV_external = ""
|
||||||
SRCREV_internal = "${AUTOREV}"
|
SRCREV_internal = "${AUTOREV}"
|
||||||
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
|
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
|
||||||
|
|
@ -19,7 +23,7 @@ KERNEL_CFG_FRAGS ?= ""
|
||||||
KERNEL_CFG_FRAGS_append = " ${@base_conditional('HAVE_EXAMPLE', '1' , 'file://config-spidev.cfg', '', d)}"
|
KERNEL_CFG_FRAGS_append = " ${@base_conditional('HAVE_EXAMPLE', '1' , 'file://config-spidev.cfg', '', d)}"
|
||||||
|
|
||||||
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-linux.git;protocol=git"
|
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-linux.git;protocol=git"
|
||||||
SRC_URI_internal = "${DIGI_GIT}linux-2.6.git;protocol=git;branch=v3.10.y/maint"
|
SRC_URI_internal = "${DIGI_GIT}linux-2.6.git;protocol=git;branch=${KBRANCH}"
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)} \
|
${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)} \
|
||||||
file://defconfig \
|
file://defconfig \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue