meta-digi-arm: Make linux-dey and linux-libc-headers share an include.

Placing all of the revision info in a common include we avoid the common
issue of forgetting to update the linux-libc-headers append recipe when
the kernel is updated.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2013-07-08 10:23:44 +02:00
parent faee124d4b
commit 9274b5e254
3 changed files with 11 additions and 14 deletions

View File

@ -3,11 +3,5 @@
PRINC := "${@int(PRINC) + 1}" PRINC := "${@int(PRINC) + 1}"
PR_append = "+${DISTRO}" PR_append = "+${DISTRO}"
SRCREV_external = "aeca956315a7b2e6e4cc94f11fc799fcfa791353" require recipes-kernel/linux/linux-dey-rev.inc
SRCREV_internal = "feec20411f1ee6c507bf50d12268cd8c05fe6820"
SRCREV_forcevariable = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-linux.git;protocol=git"
SRC_URI_internal = "${DIGI_LOG_GIT}linux-2.6.git;protocol=git"
SRC_URI = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)}"

View File

@ -0,0 +1,9 @@
# Copyright (C) 2012 Digi International
SRCREV_external = "a138d8f6602b33ae6021df890ba2f292a405e09a"
SRCREV_internal = "feec20411f1ee6c507bf50d12268cd8c05fe6820"
SRCREV_forcevariable = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-linux.git;protocol=git"
SRC_URI_internal = "${DIGI_LOG_GIT}linux-2.6.git;protocol=git"
SRC_URI = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)}"

View File

@ -1,20 +1,14 @@
# Copyright (C) 2012 Digi International # Copyright (C) 2012 Digi International
include linux-dey.inc include linux-dey.inc
include linux-dey-rev.inc
PR = "${DISTRO}.${INC_PR}.0" PR = "${DISTRO}.${INC_PR}.0"
SRCREV_external = "a138d8f6602b33ae6021df890ba2f292a405e09a"
SRCREV_internal = "feec20411f1ee6c507bf50d12268cd8c05fe6820"
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
LOCALVERSION_mx5 = "mx5" LOCALVERSION_mx5 = "mx5"
LOCALVERSION_mxs = "mxs" LOCALVERSION_mxs = "mxs"
LOCALVERSION_cpx2_mxs = "mxs+gateways" LOCALVERSION_cpx2_mxs = "mxs+gateways"
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-linux.git;protocol=git"
SRC_URI_internal = "${DIGI_LOG_GIT}linux-2.6.git;protocol=git"
SRC_URI = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)}"
SRC_URI += " \ SRC_URI += " \
file://defconfig \ file://defconfig \
${KERNEL_CFG_FRAGS} \ ${KERNEL_CFG_FRAGS} \