summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2025-01-13 12:48:55 -0700
committerMark Hatle <mark.hatle@amd.com>2025-03-30 14:16:15 -0600
commit210b0a170bc448dc2cea6392b0ee7a5aa48d8122 (patch)
tree3d898bc00a5f77f0c711b2e3cb2fc98d9f8f9fc4
parentf06f17199f3c9cd6b3ed1cb7e013e4125a33e4a4 (diff)
downloadmeta-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.conf3
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
22MULTILIB_GLOBAL_VARIANTS = "${@extend_variants(d,'MULTILIBS','multilib')}" 22MULTILIB_GLOBAL_VARIANTS = "${@extend_variants(d,'MULTILIBS','multilib')}"
23 23
24# riscv 64-bit it's been requested to move to the medany memory model
25TARGET_CFLAGS:append:libc-newlib:riscv64 = " -mcmodel=medany"
26
24############# DEFAULT SET ################## 27############# DEFAULT SET ##################
25MULTILIBS = "" 28MULTILIBS = ""
26 29