aboutsummaryrefslogtreecommitdiff
path: root/package/uclibc/uclibc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/uclibc/uclibc.mk')
-rw-r--r--package/uclibc/uclibc.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index 644c531b56..e3681c7689 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -242,6 +242,20 @@ endef
endif
#
+# MMU
+#
+
+ifeq ($(BR2_USE_MMU),y)
+define UCLIBC_MMU_CONFIG
+ $(call UCLIBC_OPT_SET,ARCH_USE_MMU,y,$(@D))
+endef
+else
+define UCLIBC_MMU_CONFIG
+ $(call UCLIBC_OPT_UNSET,ARCH_USE_MMU,$(@D))
+endef
+endif
+
+#
# IPv6
#