diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2025-03-26 14:14:29 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2025-03-30 14:16:15 -0600 |
| commit | cb5ad7722c6ae2a0cabfe3fc1a7dc0f45ebcb7e0 (patch) | |
| tree | 0da3d782c62b67a30eca16661c77699320076a6f | |
| parent | 991d9a938bb2c3c0790d2d7d001ae4294a480306 (diff) | |
| download | meta-xilinx-cb5ad7722c6ae2a0cabfe3fc1a7dc0f45ebcb7e0.tar.gz | |
meta-xilinx-core: gcc-runtime: Workaround for mingw
Mingw32 can fail with libquadmath files not being packaged.
This workaround was originally written for PetaLinux, move to
meta-xilinx-core.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| -rw-r--r-- | meta-xilinx-core/conf/layer.conf | 2 | ||||
| -rw-r--r-- | meta-xilinx-core/dynamic-layers/meta-mingw/recipes-devtools/gcc/gcc-runtime_%.bbappend | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf index 3d20a0a4..f7ff8e2d 100644 --- a/meta-xilinx-core/conf/layer.conf +++ b/meta-xilinx-core/conf/layer.conf | |||
| @@ -10,6 +10,8 @@ BBFILE_PATTERN_xilinx = "^${LAYERDIR}/" | |||
| 10 | BBFILE_PRIORITY_xilinx = "5" | 10 | BBFILE_PRIORITY_xilinx = "5" |
| 11 | 11 | ||
| 12 | BBFILES_DYNAMIC += " \ | 12 | BBFILES_DYNAMIC += " \ |
| 13 | meta-mingw:${LAYERDIR}/dynamic-layers/meta-mingw/recipes-*/*/*.bb \ | ||
| 14 | meta-mingw:${LAYERDIR}/dynamic-layers/meta-mingw/recipes-*/*/*.bbappend \ | ||
| 13 | openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes-*/*/*.bb \ | 15 | openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes-*/*/*.bb \ |
| 14 | openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes-*/*/*.bbappend \ | 16 | openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes-*/*/*.bbappend \ |
| 15 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \ | 17 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \ |
diff --git a/meta-xilinx-core/dynamic-layers/meta-mingw/recipes-devtools/gcc/gcc-runtime_%.bbappend b/meta-xilinx-core/dynamic-layers/meta-mingw/recipes-devtools/gcc/gcc-runtime_%.bbappend new file mode 100644 index 00000000..5451f83b --- /dev/null +++ b/meta-xilinx-core/dynamic-layers/meta-mingw/recipes-devtools/gcc/gcc-runtime_%.bbappend | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | FILES:libquadmath:append:mingw32 = "\ | ||
| 2 | ${bindir}/libquadmath-0.dll \ | ||
| 3 | " | ||
| 4 | FILES:libquadmath-staticdev:append:mingw32 = "\ | ||
| 5 | ${libdir}/libquadmath.dll.a \ | ||
| 6 | " | ||
