summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2025-03-26 14:14:29 -0600
committerMark Hatle <mark.hatle@amd.com>2025-03-30 14:16:15 -0600
commitcb5ad7722c6ae2a0cabfe3fc1a7dc0f45ebcb7e0 (patch)
tree0da3d782c62b67a30eca16661c77699320076a6f
parent991d9a938bb2c3c0790d2d7d001ae4294a480306 (diff)
downloadmeta-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.conf2
-rw-r--r--meta-xilinx-core/dynamic-layers/meta-mingw/recipes-devtools/gcc/gcc-runtime_%.bbappend6
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}/"
10BBFILE_PRIORITY_xilinx = "5" 10BBFILE_PRIORITY_xilinx = "5"
11 11
12BBFILES_DYNAMIC += " \ 12BBFILES_DYNAMIC += " \
13meta-mingw:${LAYERDIR}/dynamic-layers/meta-mingw/recipes-*/*/*.bb \
14meta-mingw:${LAYERDIR}/dynamic-layers/meta-mingw/recipes-*/*/*.bbappend \
13openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes-*/*/*.bb \ 15openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes-*/*/*.bb \
14openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes-*/*/*.bbappend \ 16openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes-*/*/*.bbappend \
15meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \ 17meta-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 @@
1FILES:libquadmath:append:mingw32 = "\
2 ${bindir}/libquadmath-0.dll \
3 "
4FILES:libquadmath-staticdev:append:mingw32 = "\
5 ${libdir}/libquadmath.dll.a \
6 "