diff options
author | Mark Hatle <mark.hatle@amd.com> | 2023-02-13 14:18:42 -0800 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2023-02-24 06:10:39 -0800 |
commit | 5367d2ddb05192fcd5318ca67bc301f8eda557d0 (patch) | |
tree | cf186d282bcf3d0e11844c3d655df44b8522d8a2 /meta-xilinx-standalone | |
parent | 56733b9e0493b63f542d0ac16576b398abdc58f4 (diff) | |
download | meta-xilinx-5367d2ddb05192fcd5318ca67bc301f8eda557d0.tar.gz |
gnu-toolchain-canadian: Fix symlink generation for mingw32
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone')
-rw-r--r-- | meta-xilinx-standalone/recipes-core/meta/gnu-toolchain-canadian.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-xilinx-standalone/recipes-core/meta/gnu-toolchain-canadian.bb b/meta-xilinx-standalone/recipes-core/meta/gnu-toolchain-canadian.bb index 8b323c41..1af09a5f 100644 --- a/meta-xilinx-standalone/recipes-core/meta/gnu-toolchain-canadian.bb +++ b/meta-xilinx-standalone/recipes-core/meta/gnu-toolchain-canadian.bb | |||
@@ -6,13 +6,15 @@ BPN = "gnu-toolchain-canadian" | |||
6 | 6 | ||
7 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
8 | 8 | ||
9 | EXEEXT:sdkmingw32 = ".exe" | ||
10 | |||
9 | do_install () { | 11 | do_install () { |
10 | if [ "${TARGET_SYS_MULTILIB_ORIGINAL}" != "" -a "${TARGET_SYS_MULTILIB_ORIGINAL}" != "${TARGET_SYS}" ]; then | 12 | if [ "${TARGET_SYS_MULTILIB_ORIGINAL}" != "" -a "${TARGET_SYS_MULTILIB_ORIGINAL}" != "${TARGET_SYS}" ]; then |
11 | mkdir -p ${D}${bindir} | 13 | mkdir -p ${D}${bindir} |
12 | 14 | ||
13 | # Create a link for each item references by the environment files | 15 | # Create a link for each item references by the environment files |
14 | for each in gcc g++ as ld gdb strip ranlib objcopy objdump readelf ar nm ; do | 16 | for each in gcc g++ as ld gdb strip ranlib objcopy objdump readelf ar nm ; do |
15 | ln -s ../${TARGET_SYS_MULTILIB_ORIGINAL}/${TARGET_SYS_MULTILIB_ORIGINAL}-${each} ${D}${bindir}/${TARGET_SYS}-$each | 17 | ln -s ../${TARGET_SYS_MULTILIB_ORIGINAL}/${TARGET_SYS_MULTILIB_ORIGINAL}-${each}${EXEEXT} ${D}${bindir}/${TARGET_SYS}-${each}${EXEEXT} |
16 | done | 18 | done |
17 | fi | 19 | fi |
18 | } | 20 | } |