diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-23 07:50:58 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-25 10:48:46 -0700 |
commit | 49fa66668b3ce7c72eda3efef8a95d96e2358845 (patch) | |
tree | 677770446c979b10e89e3e4fe2f102a105a64260 | |
parent | 5cc11d35b1ef646d6ac4cda60ea679cc92febc84 (diff) | |
download | meta-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.bbclass | 9 |
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" | |||
5 | LIC_FILES_CHKSUM = "file://${S}/${LICFILENAME};md5=39ab6ab638f4d1836ba994ec6852de94" | 5 | LIC_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 |
8 | SRCREV = "${AUTOREV}" | 8 | include conf/xilinx/esw-srcrev.inc |
9 | |||
10 | EMBEDDEDSW_SRCREV ?= "${AUTOREV}" | ||
11 | SRCREV = "${EMBEDDEDSW_SRCREV}" | ||
9 | PV = "${XILINX_RELEASE_VERSION}+git${SRCPV}" | 12 | PV = "${XILINX_RELEASE_VERSION}+git${SRCPV}" |
10 | SRC_URI = "git://gitenterprise.xilinx.com/decoupling/embeddedsw.git;branch=master-next-test;protocol=https" | 13 | EMBEDDEDSW_REPO ?= "git://github.com/xilinx/embeddedsw.git;protocol=https" |
14 | EMBEDDEDSW_BRANCH ?= "master" | ||
15 | SRC_URI = "${EMBEDDEDSW_REPO};branch=${EMBEDDEDSW_BRANCH}" | ||
11 | 16 | ||
12 | SRCREV_FORMAT = "src_decouple" | 17 | SRCREV_FORMAT = "src_decouple" |
13 | 18 | ||