linux-dey: move LINUX_GIT_URI definition to digi-defaults.inc
This doesn't change the behavior of the linux-dey recipe, all it does is make the LINUX_GIT_URI variable accessible to any meta-digi recipe. Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
8cb3bada3a
commit
be5466cc51
|
|
@ -96,6 +96,11 @@ DEY_SELINUX_POLICY ?= "1"
|
|||
# (use the '+=' operator, since other layers may append scripts to this list)
|
||||
BOOT_SCRIPTS += "boot.scr:boot.scr"
|
||||
|
||||
# Select internal or Github Linux repo
|
||||
LINUX_URI_STASH = "${DIGI_MTK_GIT}/linux/linux.git;protocol=ssh"
|
||||
LINUX_URI_GITHUB = "${DIGI_GITHUB_GIT}/linux.git;protocol=https"
|
||||
LINUX_GIT_URI ?= "${@oe.utils.conditional('DIGI_INTERNAL_GIT', '1', '${LINUX_URI_STASH}', '${LINUX_URI_GITHUB}', d)}"
|
||||
|
||||
# This can be used to enable U-Boot update through swupdate
|
||||
SWUPDATE_UBOOTIMG ?= "false"
|
||||
SWUPDATE_UBOOTIMG_REDUNDANT ?= "false"
|
||||
|
|
|
|||
|
|
@ -10,10 +10,6 @@ require ${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', 'recipes-kernel/linux/li
|
|||
# CONFIG_KERNEL_LZO in defconfig
|
||||
DEPENDS += "${@oe.utils.conditional('DEY_SOC_VENDOR', 'NXP', 'lzop-native', '', d)}"
|
||||
|
||||
# Select internal or Github Linux repo
|
||||
LINUX_URI_STASH = "${DIGI_MTK_GIT}/linux/linux.git;protocol=ssh"
|
||||
LINUX_URI_GITHUB = "${DIGI_GITHUB_GIT}/linux.git;protocol=https"
|
||||
LINUX_GIT_URI ?= "${@oe.utils.conditional('DIGI_INTERNAL_GIT', '1', '${LINUX_URI_STASH}', '${LINUX_URI_GITHUB}', d)}"
|
||||
SRC_URI = " \
|
||||
${LINUX_GIT_URI};branch=${SRCBRANCH} \
|
||||
${@oe.utils.conditional('KERNEL_DEFCONFIG', '', 'file://defconfig', '', d)} \
|
||||
|
|
|
|||
Loading…
Reference in New Issue