dey-examples: create common file for the dey-examples repo URL/branch
This reduces the number of files that must be modified when changing branches between development/release modes. Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
parent
fd8701845e
commit
04aa734d75
|
|
@ -1,4 +1,6 @@
|
|||
# Copyright (C) 2017 Digi International.
|
||||
# Copyright (C) 2017-2019, Digi International Inc.
|
||||
|
||||
require recipes-digi/dey-examples/dey-examples-src.inc
|
||||
|
||||
SUMMARY = "AWS IoT device SDK Demo"
|
||||
DESCRIPTION = "Demo application for AWS IoT device SDK"
|
||||
|
|
@ -14,15 +16,7 @@ AWS_USER_LED_ccimx6ulsbc ?= "488"
|
|||
AWS_USER_LED_ccimx6sbc ?= "34"
|
||||
AWS_USER_LED_ccimx6qpsbc ?= "34"
|
||||
|
||||
SRCBRANCH = "master"
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
CC_STASH = "${DIGI_MTK_GIT}dey/dey-examples.git;protocol=ssh"
|
||||
CC_GITHUB = "${DIGI_GITHUB_GIT}/dey-examples.git;protocol=git"
|
||||
|
||||
CC_GIT_URI ?= "${@oe.utils.conditional('DIGI_INTERNAL_GIT', '1' , '${CC_STASH}', '${CC_GITHUB}', d)}"
|
||||
|
||||
SRC_URI = "${CC_GIT_URI};branch=${SRCBRANCH}"
|
||||
SRC_URI = "${DEY_EXAMPLES_GIT_URI};branch=${SRCBRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git/awsiot-sample"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
# Copyright (C) 2017, 2018 Digi International.
|
||||
# Copyright (C) 2017-2019, Digi International Inc.
|
||||
|
||||
require recipes-digi/dey-examples/dey-examples-src.inc
|
||||
|
||||
SUMMARY = "DEY examples: Cryptochip example application"
|
||||
SECTION = "examples"
|
||||
|
|
@ -7,15 +9,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425
|
|||
|
||||
DEPENDS = "cryptoauthlib"
|
||||
|
||||
SRCBRANCH = "master"
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
CC_STASH = "${DIGI_MTK_GIT}dey/dey-examples.git;protocol=ssh"
|
||||
CC_GITHUB = "${DIGI_GITHUB_GIT}/dey-examples.git;protocol=git"
|
||||
|
||||
CC_GIT_URI ?= "${@oe.utils.conditional('DIGI_INTERNAL_GIT', '1' , '${CC_STASH}', '${CC_GITHUB}', d)}"
|
||||
|
||||
SRC_URI = "${CC_GIT_URI};branch=${SRCBRANCH}"
|
||||
SRC_URI = "${DEY_EXAMPLES_GIT_URI};branch=${SRCBRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git/cryptochip-get-random"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
# Copyright (C) 2017, 2018, Digi International Inc.
|
||||
# Copyright (C) 2017-2019, Digi International Inc.
|
||||
|
||||
require recipes-digi/dey-examples/dey-examples-src.inc
|
||||
|
||||
SUMMARY = "DEY Digi APIX examples"
|
||||
SECTION = "examples"
|
||||
|
|
@ -7,15 +9,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/ISC;md5=f3b90e78ea0cffb20bf5cca
|
|||
|
||||
DEPENDS = "libdigiapix"
|
||||
|
||||
SRCBRANCH = "master"
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
LIBDIGIAPIX_STASH = "${DIGI_MTK_GIT}dey/dey-examples.git;protocol=ssh"
|
||||
LIBDIGIAPIX_GITHUB = "${DIGI_GITHUB_GIT}/dey-examples.git;protocol=git"
|
||||
|
||||
LIBDIGIAPIX_GIT_URI ?= "${@oe.utils.conditional('DIGI_INTERNAL_GIT', '1' , '${LIBDIGIAPIX_STASH}', '${LIBDIGIAPIX_GITHUB}', d)}"
|
||||
|
||||
SRC_URI = "${LIBDIGIAPIX_GIT_URI};branch=${SRCBRANCH}"
|
||||
SRC_URI = "${DEY_EXAMPLES_GIT_URI};branch=${SRCBRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
# Copyright (C) 2019, Digi International Inc.
|
||||
|
||||
SRCBRANCH = "master"
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
DEY_EXAMPLES_STASH = "${DIGI_MTK_GIT}dey/dey-examples.git;protocol=ssh"
|
||||
DEY_EXAMPLES_GITHUB = "${DIGI_GITHUB_GIT}/dey-examples.git;protocol=git"
|
||||
|
||||
DEY_EXAMPLES_GIT_URI ?= "${@oe.utils.conditional('DIGI_INTERNAL_GIT', '1' , '${DEY_EXAMPLES_STASH}', '${DEY_EXAMPLES_GITHUB}', d)}"
|
||||
Loading…
Reference in New Issue