summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2002-10-15 07:57:12 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2002-10-15 07:57:12 +0000
commit987f4143babc3ac29e9b4c1525d7b935c5d3c7cc (patch)
tree55e71fc4bed7072c72c30c450d85c5f4649ac54a
parentc5daf7d8dcd2f0e1c33320fba916444701e068cc (diff)
(uClibc_config): Define __UCLIBC_UCLINUX_BROKEN_MUNMAP__ for MMU-less systems.
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4087c2a0c..d1de706f0 100644
--- a/Makefile
+++ b/Makefile
@@ -161,10 +161,14 @@ uClibc_config: Makefile Config
else \
echo "#undef __UCLIBC_HAS_IPV6__" >> include/bits/uClibc_config.h ; \
fi
+ # [For now we make the assumption that a linux system without an
+ # MMU must be uClinux, and must have a broken munmap (both
+ # assumptions are a bit dodgy, but can be changed in the future).]
@if [ "$(HAS_MMU)" = "true" ] ; then \
echo "#define __UCLIBC_HAS_MMU__ 1" >> include/bits/uClibc_config.h ; \
else \
echo "#undef __UCLIBC_HAS_MMU__" >> include/bits/uClibc_config.h ; \
+ echo "#define __UCLIBC_UCLINUX_BROKEN_MUNMAP__ 1" >> include/bits/uClibc_config.h ; \
fi
@if [ "$(HAS_FLOATING_POINT)" = "true" ] ; then \
echo "#define __UCLIBC_HAS_FLOATS__ 1" >> include/bits/uClibc_config.h ; \