summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fa75f2ba3..96f1d88a1 100644
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,11 @@ headers: dummy
@if [ $(TARGET_ARCH) = "powerpc" ];then \
ln -s $(KERNEL_SOURCE)/include/asm-ppc include/asm; \
else \
- ln -s $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH) include/asm; \
+ if [ $(HAS_MMU) != "true" ]; then \
+ ln -s $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH)nommu include/asm;\
+ else \
+ ln -s $(KERNEL_SOURCE)/include/asm-$(TARGET_ARCH) include/asm; \
+ fi; \
fi;
@if [ ! -f include/asm/unistd.h ] ; then \
echo " "; \