summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2020-03-23 07:50:58 -0700
committerMark Hatle <mark.hatle@xilinx.com>2020-03-25 10:48:46 -0700
commit49fa66668b3ce7c72eda3efef8a95d96e2358845 (patch)
tree677770446c979b10e89e3e4fe2f102a105a64260
parent5cc11d35b1ef646d6ac4cda60ea679cc92febc84 (diff)
downloadmeta-xilinx-49fa66668b3ce7c72eda3efef8a95d96e2358845.tar.gz
meta-xilinx-standalone esw.bbclass: Allow SRCREV and SRC_URI to be overwritten
The default values will match publically available sources, but may not work for internal development purposes. Allow the user to override the defaults with "ESW_SRCREV" and "ESW_SRC_URI". By doing it this way, the individual recipes that use the esw class, and their bbappends can specify additional SRCREV/SRC_URI information in the standard way. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-standalone/classes/esw.bbclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta-xilinx-standalone/classes/esw.bbclass b/meta-xilinx-standalone/classes/esw.bbclass
index d72976e9..754ef337 100644
--- a/meta-xilinx-standalone/classes/esw.bbclass
+++ b/meta-xilinx-standalone/classes/esw.bbclass
@@ -5,9 +5,14 @@ LICFILENAME = "license.txt"
5LIC_FILES_CHKSUM = "file://${S}/${LICFILENAME};md5=39ab6ab638f4d1836ba994ec6852de94" 5LIC_FILES_CHKSUM = "file://${S}/${LICFILENAME};md5=39ab6ab638f4d1836ba994ec6852de94"
6 6
7# We should move to an actual SRCREV eventually 7# We should move to an actual SRCREV eventually
8SRCREV = "${AUTOREV}" 8include conf/xilinx/esw-srcrev.inc
9
10EMBEDDEDSW_SRCREV ?= "${AUTOREV}"
11SRCREV = "${EMBEDDEDSW_SRCREV}"
9PV = "${XILINX_RELEASE_VERSION}+git${SRCPV}" 12PV = "${XILINX_RELEASE_VERSION}+git${SRCPV}"
10SRC_URI = "git://gitenterprise.xilinx.com/decoupling/embeddedsw.git;branch=master-next-test;protocol=https" 13EMBEDDEDSW_REPO ?= "git://github.com/xilinx/embeddedsw.git;protocol=https"
14EMBEDDEDSW_BRANCH ?= "master"
15SRC_URI = "${EMBEDDEDSW_REPO};branch=${EMBEDDEDSW_BRANCH}"
11 16
12SRCREV_FORMAT = "src_decouple" 17SRCREV_FORMAT = "src_decouple"
13 18