linux-dey: separate kernel source information into a new file
This way, other recipes (like the ones for kernel modules) can re-use the sources if needed. https://jira.digi.com/browse/DEL-6115 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
0794c17bb7
commit
bfe528abbc
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Copyright (C) 2018 Digi International
|
||||||
|
|
||||||
|
LICENSE = "GPLv2"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||||
|
|
||||||
|
LOCALVERSION = "-dey"
|
||||||
|
SRCBRANCH = "v4.9/dey-2.4/maint"
|
||||||
|
SRCBRANCH_ccimx8x = "v4.9.88/master"
|
||||||
|
SRCREV = "${AUTOREV}"
|
||||||
|
|
||||||
|
# Select internal or Github Linux repo
|
||||||
|
LINUX_GIT_URI ?= "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${DIGI_GIT}linux-2.6.git', '${DIGI_GITHUB_GIT}/linux.git', d)}"
|
||||||
|
SRC_URI = "${LINUX_GIT_URI};branch=${SRCBRANCH}"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
@ -1,28 +1,17 @@
|
||||||
# Copyright (C) 2013-2018 Digi International
|
# Copyright (C) 2013-2018 Digi International
|
||||||
|
|
||||||
SUMMARY = "Linux kernel for Digi boards"
|
SUMMARY = "Linux kernel for Digi boards"
|
||||||
LICENSE = "GPLv2"
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
|
||||||
|
|
||||||
DEPENDS += "lzop-native bc-native"
|
DEPENDS += "lzop-native bc-native"
|
||||||
DEPENDS += "${@base_conditional('TRUSTFENCE_SIGN', '1', 'trustfence-sign-tools-native', '', d)}"
|
DEPENDS += "${@base_conditional('TRUSTFENCE_SIGN', '1', 'trustfence-sign-tools-native', '', d)}"
|
||||||
|
|
||||||
inherit kernel fsl-kernel-localversion
|
inherit kernel fsl-kernel-localversion
|
||||||
|
|
||||||
LOCALVERSION = "-dey"
|
require recipes-kernel/linux/linux-dey-src.inc
|
||||||
|
|
||||||
# Select internal or Github Linux repo
|
|
||||||
LINUX_GIT_URI ?= "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${DIGI_GIT}linux-2.6.git', '${DIGI_GITHUB_GIT}/linux.git', d)}"
|
|
||||||
|
|
||||||
SRC_URI = " \
|
|
||||||
${LINUX_GIT_URI};branch=${SRCBRANCH} \
|
|
||||||
"
|
|
||||||
|
|
||||||
# Use custom provided 'defconfig' if variable KERNEL_DEFCONFIG is cleared
|
# Use custom provided 'defconfig' if variable KERNEL_DEFCONFIG is cleared
|
||||||
SRC_URI += "${@base_conditional('KERNEL_DEFCONFIG', '', 'file://defconfig', '', d)}"
|
SRC_URI += "${@base_conditional('KERNEL_DEFCONFIG', '', 'file://defconfig', '', d)}"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
|
||||||
|
|
||||||
do_deploy[postfuncs] += "${@base_conditional('TRUSTFENCE_SIGN', '1', 'trustfence_sign', '', d)}"
|
do_deploy[postfuncs] += "${@base_conditional('TRUSTFENCE_SIGN', '1', 'trustfence_sign', '', d)}"
|
||||||
|
|
||||||
trustfence_sign() {
|
trustfence_sign() {
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,4 @@
|
||||||
|
|
||||||
require recipes-kernel/linux/linux-dey.inc
|
require recipes-kernel/linux/linux-dey.inc
|
||||||
|
|
||||||
SRCBRANCH = "v4.9/dey-2.4/maint"
|
|
||||||
SRCBRANCH_ccimx8x = "v4.9.88/master"
|
|
||||||
SRCREV = "${AUTOREV}"
|
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "(ccimx6|ccimx6ul|ccimx8x)"
|
COMPATIBLE_MACHINE = "(ccimx6|ccimx6ul|ccimx8x)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue