external-hdf: don't expect the HDF in a variant subdir
With this change, it is no longer required that the XSA file is in a subdirectory with the same name as the PL variant.
HDF_BASE should no longer include the subdirectory with the XSA file as PL_VARIANT, it should be moved to HDF_PATH.
I had trouble integrating this with our fwk workflow, so I came up with this solution that seems slightly cleaner to me. However it requires a change in the projects, like here: https://msktechvcs.desy.de/techlab/software/yocto-layers/meta-techlab-demo/-/merge_requests/1
Merge request reports
Activity
mentioned in merge request meta-techlab-demo!1 (closed)
By Michael Buechler on 2023-02-07T17:18:38 (imported from GitLab)
This would completely kill the option to bundle multiple PL designs (variants) in one image.
external-hdf.bbappend
used to copy each PL design to its own subdirectory (VARIANT_DIR
). Now, https://msktechvcs.desy.de/techlab/software/yocto-layers/meta-techlab-bsp/-/merge_requests/4/diffs?commit_id=e3f799393356bb476fcf1b63d2ffb162f84e9a14#6c82f24ddd7ba207cfc8ef316e40fdcdfb6e6abc_15_15 copies one single variant (the one that's defined inHDF_PATH
) to all subdirectories.By Patrick Huesmann on 2023-02-08T10:50:27 (imported from GitLab)
Alright, I changed the MSK BSP layer so that it moves our single XSA file into a subfolder for the variant before the Techlab
do_install()
tries to find it there. https://gitlab.msktools.desy.de/fpgafw/yocto/meta-msk-fwk-bsp/-/commit/f06ebadad5f5d6be46ff380500b9ea7c372c9063Now we can use an absolute path for
HDF_PATH
, and keepHDF_BASE
at just"file://"
.This change is no longer necessary.
By Michael Buechler on 2023-02-08T17:48:43 (imported from GitLab)