asm-$(TARGET_ARCH) as the link for include/asm.
@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 " "; \