[meta-xilinx] [PATCH 1/2] layer.conf: define default XILINX_VER_MAIN here
Jean-Francois Dagenais
jeff.dagenais at gmail.com
Fri Jun 9 16:01:51 PDT 2017
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.1", the layer just
works with this assumption.
Signed-off-by: Jean-Francois Dagenais <jeff.dagenais at gmail.com>
---
classes/xsctbase.bbclass | 1 -
conf/layer.conf | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/classes/xsctbase.bbclass b/classes/xsctbase.bbclass
index 391b50e..89a3e94 100644
--- a/classes/xsctbase.bbclass
+++ b/classes/xsctbase.bbclass
@@ -1,4 +1,3 @@
-XILINX_VER_MAIN ??= "2017.1"
inherit xsct-tc
diff --git a/conf/layer.conf b/conf/layer.conf
index 48b57fc..dd52b3a 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.1"
--
2.1.4
More information about the meta-xilinx
mailing list