summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-15 13:43:55 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-15 13:43:55 +0000
commit330a35150a27b1906431755aff77fdcbdb6ccc00 (patch)
tree03b0887b087f41e7706972feca979e576f60492c /Makefile
parentff044eda5d5e6ec7af7358d743db1d3fe8021727 (diff)
If they have an x86, but HAS_MMU is false, warn and sleep(10) since
99.999999999999999999% of all folks compiling on x86 have an MMU. Otherwise, folks will see that malloc mysteriously doesn't work... -Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 951b1909c..90eb63dcd 100644
--- a/Makefile
+++ b/Makefile
@@ -22,12 +22,13 @@
#--------------------------------------------------------
#
-#There are a number of configurable options in Rules.mak
+#There are a number of configurable options in "Config"
#
#--------------------------------------------------------
include Rules.mak
+
DIRS = misc pwd_grp stdio string termios unistd net signal stdlib sysdeps extra
all: libc.a
@@ -52,6 +53,12 @@ headers: dummy
echo " "; \
/bin/false; \
fi;
+ @if [ $(HAS_MMU) != "true" ] && [ $(TARGET_ARCH) = "i386" ] ; then \
+ echo "WARNING: I bet your x86 system really has an MMU, right?"; \
+ echo " malloc and friends won't work unless you fix \`Config'"; \
+ echo " "; \
+ sleep 10; \
+ fi;
@ln -s $(KERNEL_SOURCE)/include/net include/net
@ln -s $(KERNEL_SOURCE)/include/linux include/linux
@ln -s ../sysdeps/linux/$(TARGET_ARCH)/bits include/bits