diff options
author | David McCullough <davidm@snapgear.com> | 2001-07-04 11:19:24 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2001-07-04 11:19:24 +0000 |
commit | 0d85794e9b8a873a44a373d4936c5c26e1a574c9 (patch) | |
tree | b8c596c78d45ec02fc9ae04ea25f721c386e47f6 /Makefile | |
parent | ca240d0eec47a0d6ef981a16fa2e0da500ff6424 (diff) |
If HAS_MMU is false, then use asm-$(TARGET_ARCH)nommu rather than
asm-$(TARGET_ARCH) as the link for include/asm.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 " "; \ |