This way it is visible to all code within the build.

Otherwize, recipes inheriting only xsct-tc would not get any definition
other than one found in a local.conf or equivalent, preventing the users
from using XILINX_VER_MAIN in their definition of XILINX_SDK_TOOLCHAIN.

It also makes sense that if one checks out "rel-v2017.2", the layer just
works with this assumption.

Signed-off-by: Jean-Francois Dagenais <[email protected]>
---
 classes/xsctbase.bbclass | 2 --
 conf/layer.conf          | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/classes/xsctbase.bbclass b/classes/xsctbase.bbclass
index 0aaf9c4..60898c8 100644
--- a/classes/xsctbase.bbclass
+++ b/classes/xsctbase.bbclass
@@ -1,5 +1,3 @@
-XILINX_VER_MAIN ??= "2017.2"
-
 inherit xsct-tc
 
 B = "${WORKDIR}/build"
diff --git a/conf/layer.conf b/conf/layer.conf
index 48b57fc..ce5331f 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -15,3 +15,4 @@ LAYERDEPENDS_xilinx-tools  = "core"
 
 XLNX_SCRIPTS_DIR = "${LAYERDIR}/scripts/"
 
+XILINX_VER_MAIN ??= "2017.2"
-- 
2.1.4

-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to