summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-05-27 12:15:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2018-05-27 12:15:57 +0200
commit035f5af9779487b6b7ab2339963c8f76b9448a8c (patch)
treed84206dc4d1d5c19692b957596bc56609d5c1358 /mk
parenta81f0bbe58cb2e70ee666456e3084b1f41c647f4 (diff)
try to fix noMMU targets
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 014ba470c..454114b07 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -468,6 +468,10 @@ defconfig: .menu $(CONFIG)/conf
|sed -e "s#^config \(.*\)#\1=y#" \
>> $(ADK_TOPDIR)/.defconfig; \
fi
+ @if [ ! -z "$(ADK_TARGET_MMU)" ];then \
+ printf "# ADK_TARGET_WITH_MMU is not set\n" \
+ >> $(ADK_TOPDIR)/.defconfig; \
+ fi
@if [ ! -z "$(ADK_TARGET_LIBC)" ];then \
libc=$$(echo "$(ADK_TARGET_LIBC)"|sed -e "s/-/_/"); \
grep "^config" target/config/Config.in.libc \