[meta-xilinx] [PATCH 6/7] xsctbase: rebuild all products when XILINX_VER_MAIN changes
Jean-Francois Dagenais
jeff.dagenais at gmail.com
Sat Jul 8 10:37:28 PDT 2017
> On Jul 8, 2017, at 12:41, Manjukumar Harthikote Matha <manjukumar.harthikote-matha at xilinx.com> wrote:
>
> Agreed, let me look into it, there might be a way to find the tool version from HDF and compare it with
> XILINX_VER_MAIN
There is! In xsct-ts.bbclass:
python do_xsct_setup () {
XILINX_XSCT_VERSION = xsct_get_version(d)
XILINX_REQ_VERSION = d.getVar("XILINX_VER_MAIN", True)
if XILINX_XSCT_VERSION != XILINX_REQ_VERSION:
bb.fatal("XSCT version does not match. Version is %s: checking for %s " % (XILINX_XSCT_VERSION,XILINX_REQ_VERSION))
bb.note("XSCT is valid, version is %s" % XILINX_XSCT_VERSION)
}
All that's left is to compare the version found in the HDF, and compare it with xsct like above.
Cheers!
More information about the meta-xilinx
mailing list