summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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