summaryrefslogtreecommitdiff
path: root/package/busybox/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-01-13 14:19:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-01-18 06:17:13 +0100
commite69f684dedb4a693e38fc8b948cdff8c7601674c (patch)
treef65f0118178c9e288f945d4bc813ae8a49dbce0d /package/busybox/config
parent1e8ce0775190cbff163cf2d8e42bea16ba1669e7 (diff)
support nommu with ELF binaries
Diffstat (limited to 'package/busybox/config')
-rw-r--r--package/busybox/config/Config.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/busybox/config/Config.in b/package/busybox/config/Config.in
index 6f19502f4..d5cbed6a5 100644
--- a/package/busybox/config/Config.in
+++ b/package/busybox/config/Config.in
@@ -371,7 +371,7 @@ config BUSYBOX_STATIC
config BUSYBOX_PIE
bool "Build position independent executable"
- default n
+ default y if !ADK_TARGET_WITH_MMU && ADK_TARGET_BINFMT_ELF
depends on !BUSYBOX_STATIC
help
Hardened code option. PIE binaries are loaded at a different
@@ -382,7 +382,7 @@ config BUSYBOX_PIE
config BUSYBOX_NOMMU
bool "Force NOMMU build"
- default n
+ default y if !ADK_TARGET_WITH_MMU
help
Busybox tries to detect whether architecture it is being
built against supports MMU or not. If this detection fails,