[meta-xilinx] [PATCH 7/7] layer.conf: define default XILINX_VER_MAIN here
Manjukumar Harthikote Matha
manjukumar.harthikote-matha at xilinx.com
Fri Jul 7 15:23:30 PDT 2017
> -----Original Message-----
> From: Jean-Francois Dagenais [mailto:jeff.dagenais at gmail.com]
> Sent: Thursday, July 06, 2017 10:17 AM
> To: Manjukumar Harthikote Matha <MANJUKUM at xilinx.com>; Sai Pavan Boddu
> <saipava at xilinx.com>; Cyril Chemparathy <cyrilc at xilinx.com>
> Cc: git <git at xilinx.com>; michal.simek at xilinx.com; meta-xilinx at yoctoproject.org;
> Jean-Francois Dagenais <jeff.dagenais at gmail.com>
> Subject: [PATCH 7/7] layer.conf: define default XILINX_VER_MAIN here
>
> 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 <jeff.dagenais at gmail.com>
> ---
> 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"
ACK, applied
Thanks,
Manju
> --
> 2.1.4
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
More information about the meta-xilinx
mailing list