From 97508f15742a4686123cf79504f1e030f6408a2a Mon Sep 17 00:00:00 2001 From: David Anders Date: Tue, 24 Jan 2006 20:20:03 +0000 Subject: fix improper symlink for asm dir when using x86 archs --- toolchain/kernel-headers/kernel-headers.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toolchain') diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk index f77afa058..299ac383c 100644 --- a/toolchain/kernel-headers/kernel-headers.mk +++ b/toolchain/kernel-headers/kernel-headers.mk @@ -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 -- cgit v1.2.3