fix improper symlink for asm dir when using x86 archs
authorDavid Anders <dave123@abcsinc.com>
Tue, 24 Jan 2006 20:20:03 +0000 (20:20 -0000)
committerDavid Anders <dave123@abcsinc.com>
Tue, 24 Jan 2006 20:20:03 +0000 (20:20 -0000)
toolchain/kernel-headers/kernel-headers.mk

index f77afa0580a42130a5ec888ee4abf9d094fa1185..299ac383cdf82f494ba323c00b8c455e521075bd 100644 (file)
@@ -159,6 +159,8 @@ $(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_DIR)/.patched
            (cd $(LINUX_HEADERS_DIR)/include; ln -fs asm-sh asm; \
             cd asm; \
             ln -s cpu-sh4 cpu) \
+       elif [ "$(ARCH)" = "i386" -o "$(ARCH)" = "i486" -o "$(ARCH)" = "i586" -o "$(ARCH)" = "i686" ];then \
+           (cd $(LINUX_HEADERS_DIR)/include; ln -fs asm-i386$(NOMMU) asm;) \
        else \
            (cd $(LINUX_HEADERS_DIR)/include; ln -fs asm-$(ARCH)$(NOMMU) asm;) \
        fi