summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-07-27 15:52:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-07-27 15:52:37 +0200
commit8fd3f36f2211ff0368e6a60301710ae33dc5acf1 (patch)
treeea977a3eecd9866687b5bad4ed04aab8457a5a66
parentec8a5db7d2c64dc690cc31174f658ef0764e50d3 (diff)
nios2: default to supported static libs
-rw-r--r--target/config/Config.in.cpu6
-rw-r--r--target/nios2/kernel/qemu-nios21
2 files changed, 4 insertions, 3 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 2be7bcf70..3cb3cf8fc 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -983,10 +983,10 @@ config ADK_TARGET_CPU_NDS32
# nios2
config ADK_TARGET_CPU_NIOS2
bool "nios2"
- select ADK_TARGET_SUPPORTS_THREADS
- select ADK_TARGET_SUPPORTS_LT
- select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
depends on ADK_TARGET_ARCH_NIOS2
# openrisc
diff --git a/target/nios2/kernel/qemu-nios2 b/target/nios2/kernel/qemu-nios2
index 676c10fb7..03d420368 100644
--- a/target/nios2/kernel/qemu-nios2
+++ b/target/nios2/kernel/qemu-nios2
@@ -9,3 +9,4 @@ CONFIG_NIOS2_DTB_SOURCE_BOOL=y
CONFIG_NIOS2_DTB_SOURCE="10m50_devboard.dts"
CONFIG_CMDLINE_BOOL=y
CONFIG_NIOS2_PASS_CMDLINE=y
+CONFIG_COMPAT_32BIT_TIME=y