diff options
author | Mark Hatle <mark.hatle@amd.com> | 2025-01-13 12:48:55 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2025-03-30 14:16:15 -0600 |
commit | 210b0a170bc448dc2cea6392b0ee7a5aa48d8122 (patch) | |
tree | 3d898bc00a5f77f0c711b2e3cb2fc98d9f8f9fc4 | |
parent | f06f17199f3c9cd6b3ed1cb7e013e4125a33e4a4 (diff) | |
download | meta-xilinx-210b0a170bc448dc2cea6392b0ee7a5aa48d8122.tar.gz |
meta-vitis-tc: riscv-tc: Enable medany memory model
Per request, enable medany memory model with riscv 64-bit and newlib tclibc.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r-- | meta-vitis-tc/conf/machine/riscv-tc.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-vitis-tc/conf/machine/riscv-tc.conf b/meta-vitis-tc/conf/machine/riscv-tc.conf index 3d44277d..7dcc8ede 100644 --- a/meta-vitis-tc/conf/machine/riscv-tc.conf +++ b/meta-vitis-tc/conf/machine/riscv-tc.conf | |||
@@ -21,6 +21,9 @@ TUNE_CCARGS = "${TUNE_CCARGS:tune-${DEFAULTTUNE}}" | |||
21 | # Define all of the multilibs supported by this configuration | 21 | # Define all of the multilibs supported by this configuration |
22 | MULTILIB_GLOBAL_VARIANTS = "${@extend_variants(d,'MULTILIBS','multilib')}" | 22 | MULTILIB_GLOBAL_VARIANTS = "${@extend_variants(d,'MULTILIBS','multilib')}" |
23 | 23 | ||
24 | # riscv 64-bit it's been requested to move to the medany memory model | ||
25 | TARGET_CFLAGS:append:libc-newlib:riscv64 = " -mcmodel=medany" | ||
26 | |||
24 | ############# DEFAULT SET ################## | 27 | ############# DEFAULT SET ################## |
25 | MULTILIBS = "" | 28 | MULTILIBS = "" |
26 | 29 | ||