diff options
author | David Anders <dave123@abcsinc.com> | 2006-01-24 20:20:03 +0000 |
---|---|---|
committer | David Anders <dave123@abcsinc.com> | 2006-01-24 20:20:03 +0000 |
commit | 97508f15742a4686123cf79504f1e030f6408a2a (patch) | |
tree | fe7da53a5b27d9256ee94b0ecf48d8e3801a4748 /toolchain | |
parent | 79816f9fece62740536fdbb0e38b0a76d4f12fea (diff) |
fix improper symlink for asm dir when using x86 archs
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/kernel-headers/kernel-headers.mk | 2 |
1 files changed, 2 insertions, 0 deletions
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 |