summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-09 10:05:04 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-11 18:00:48 +0200
commitffd28041da86d721a4eca7ced1a48324cb8235e6 (patch)
tree4b3e67c69d85c32c57f8eff614ec8a82adb85a5f /package
parent152661cde03311b2775db80b5a878c80a2006b6b (diff)
downloadbuildroot-ffd28041da86d721a4eca7ced1a48324cb8235e6.tar.gz
buildroot-ffd28041da86d721a4eca7ced1a48324cb8235e6.zip
uclibc: properly set UCLIBC_HAS_MMU option
gdbserver's code looks at both UCLIBC_USE_MMU *and* UCLIBC_HAS_MMU to decide whether to enable the no-MMU code. So far, on noMMU platforms, UCLIBC_HAS_MMU was still set to 'y'. This commit adjusts this, which is a step forward in getting gdbserver to build on m68k/coldfire. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- Changes since v2: - None Changes since v1: - New patch in the series
Diffstat (limited to 'package')
-rw-r--r--package/uclibc/uclibc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index a5a20ea51f..fa970df6d5 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -253,10 +253,12 @@ endif
ifeq ($(BR2_USE_MMU),y)
define UCLIBC_MMU_CONFIG
+ $(call KCONFIG_ENABLE_OPT,ARCH_HAS_MMU,$(@D)/.config)
$(call KCONFIG_ENABLE_OPT,ARCH_USE_MMU,$(@D)/.config)
endef
else
define UCLIBC_MMU_CONFIG
+ $(call KCONFIG_DISABLE_OPT,ARCH_HAS_MMU,$(@D)/.config)
$(call KCONFIG_DISABLE_OPT,ARCH_USE_MMU,$(@D)/.config)
endef
endif
OpenPOWER on IntegriCloud