summaryrefslogtreecommitdiff
path: root/package/busybox/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-28 10:14:40 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-28 10:25:06 +0200
commitc43854da4d87c25f54cce20ad188a6877dc15f71 (patch)
tree2fce408ef916b6c205e3f74a5ce2c1b0fc969beb /package/busybox/Makefile
parent86e450dac4a6d50ebda79f80081525462d1bb68b (diff)
add some basic infrastructure for qemu-system-m68k
Qemu emulates a Coldfire Evaluation board without MMU. As that is the first non-MMU platform in OpenADK I added ADK_TARGET_UCLINUX. Mksh can not be used for non-MMU, because it requires fork() for job control and other things. We use hush here. non-MMU support in uClibc does not have shared library support. Kernel does not start yet. So no runtime testing, but at least coldfire toolchain can be tested with uClibc-ng. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'package/busybox/Makefile')
-rw-r--r--package/busybox/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index eabed3ef3..e31de2c4b 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= busybox
PKG_VERSION:= 1.22.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 337d1a15ab1cb1d4ed423168b1eb7d7e
PKG_DESCR:= core utilities for embedded systems
PKG_SECTION:= base/apps
@@ -41,6 +41,9 @@ do-configure:
${WRKBUILD}/.config.tmp; \
cp ${WRKBUILD}/.config.tmp ${WRKBUILD}/.config; \
done
+ifeq ($(ADK_TARGET_UCLINUX),y)
+ echo 'BUSYBOX_NOMMU=y' >> ${WRKBUILD}/.config
+endif
$(SED) 's;@IDIR@;${WRKINST};' ${WRKBUILD}/.config
yes '' | PATH='$(HOST_PATH)' $(MAKE) ${BB_MAKE_FLAGS} -C ${WRKBUILD} oldconfig $(MAKE_TRACE)