diff options
author | Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> | 2020-01-30 13:45:12 -0800 |
---|---|---|
committer | Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> | 2020-01-30 13:45:12 -0800 |
commit | 5d1d818cd6b7ffd1c4990921a6b6a649883f89eb (patch) | |
tree | 2ccb917a8269cce409ef8e813e29f8b7b61a05e1 /meta-xilinx-standalone/recipes-devtools | |
parent | 18f23e75b302def9bfc26a321d4ad40ee1eb6033 (diff) | |
download | meta-xilinx-5d1d818cd6b7ffd1c4990921a6b6a649883f89eb.tar.gz |
gcc-runtime: Move gcc-runtime to GCCs directory
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone/recipes-devtools')
-rw-r--r-- | meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend new file mode 100644 index 00000000..71abfd0d --- /dev/null +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend | |||
@@ -0,0 +1,65 @@ | |||
1 | # Copy of gcc-xilinx-standalone.inc, but with _class-target added | ||
2 | LINKER_HASH_STYLE_xilinx-standalone_class-target = "" | ||
3 | SYMVERS_CONF_xilinx-standalone_class-target = "" | ||
4 | |||
5 | EXTRA_OECONF_append_xilinx-standalone_class-target = " \ | ||
6 | --disable-libstdcxx-pch \ | ||
7 | --with-newlib \ | ||
8 | --disable-threads \ | ||
9 | --enable-plugins \ | ||
10 | --with-gnu-as \ | ||
11 | --disable-libitm \ | ||
12 | --enable-multilib \ | ||
13 | " | ||
14 | |||
15 | EXTRA_OECONF_append_xilinx-standalone_aarch64_class-target = " \ | ||
16 | --disable-multiarch \ | ||
17 | --with-arch=armv8-a \ | ||
18 | " | ||
19 | |||
20 | # Both arm and cortexr5 overrides are set w/ r5 | ||
21 | # So only set rmprofile if r5 is defined. | ||
22 | ARM_PROFILE = "aprofile" | ||
23 | ARM_PROFILE_cortexr5 = "rmprofile" | ||
24 | EXTRA_OECONF_append_xilinx-standalone_arm_class-target = " \ | ||
25 | --with-multilib-list=${ARM_PROFILE} \ | ||
26 | " | ||
27 | |||
28 | EXTRA_OECONF_append_xilinx-standalone_cortexr5_class-target = " \ | ||
29 | --disable-tls \ | ||
30 | --disable-decimal-float \ | ||
31 | " | ||
32 | |||
33 | EXTRA_OECONF_append_xilinx-standalone_microblaze_class-target = " \ | ||
34 | --disable-__cxa_atexit \ | ||
35 | --enable-target-optspace \ | ||
36 | --without-long-double-128 \ | ||
37 | " | ||
38 | |||
39 | # Changes local to gcc-runtime... | ||
40 | |||
41 | # Due to multilibs, we need to clear the default TUNE_CCARGS on arm | ||
42 | TUNE_CCARGS_xilinx-standalone_arm_class-target = "" | ||
43 | |||
44 | # Configure fails on multilib when using a cache file, this re-sets it to nothing | ||
45 | EXTRA_OECONF_append_xilinx-standalone_class-target = " --cache-file=" | ||
46 | |||
47 | # Dont build libitm, etc. | ||
48 | RUNTIMETARGET_xilinx-standalone_class-target = "libstdc++-v3" | ||
49 | |||
50 | # Recursve 5 levels due to the several combinations of multilibs built | ||
51 | FILES_libstdc++-staticdev_append_xilinx-standalone_class-target = " \ | ||
52 | ${libdir}/libsupc++.a* \ | ||
53 | ${libdir}/libstdc++*.a* \ | ||
54 | ${libdir}/**/libsupc++.a* \ | ||
55 | ${libdir}/**/libstdc++*.a* \ | ||
56 | ${libdir}/**/**/libsupc++.a* \ | ||
57 | ${libdir}/**/**/libstdc++*.a* \ | ||
58 | ${libdir}/**/**/**/libsupc++.a* \ | ||
59 | ${libdir}/**/**/**/libstdc++*.a* \ | ||
60 | ${libdir}/**/**/**/**/libsupc++.a* \ | ||
61 | ${libdir}/**/**/**/**/libstdc++*.a* \ | ||
62 | ${libdir}/**/**/**/**/**/libsupc++.a* \ | ||
63 | ${libdir}/**/**/**/**/**/libstdc++*.a* \ | ||
64 | " | ||
65 | |||