From 035f5af9779487b6b7ab2339963c8f76b9448a8c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 27 May 2018 12:15:14 +0200 Subject: [PATCH] try to fix noMMU targets --- mk/build.mk | 4 ++++ scripts/update-rcconf | 3 +++ 2 files changed, 7 insertions(+) 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 \ diff --git a/scripts/update-rcconf b/scripts/update-rcconf index 5716576ca..87c483a1c 100755 --- a/scripts/update-rcconf +++ b/scripts/update-rcconf @@ -30,6 +30,9 @@ fi if [ ! -z ${ADK_TARGET_BINFMT} ];then suffix=${suffix}_${ADK_TARGET_BINFMT} fi +if [ -z ${ADK_TARGET_WITH_MMU} ];then + suffix=${suffix}_nommu +fi rcconf=$(ls $topdir/root_${suffix}/etc/rc.conf) -- 2.11.4.GIT