diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-12-11 09:56:58 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-12-11 09:56:58 +0000 |
commit | 070e7c147b114890828b5f087430bb01306a1fe7 (patch) | |
tree | 6b39a84827c3fe129665e358ad0b95a300e04928 /toolchain/kernel-headers/kernel-headers.mk | |
parent | bd432c18f23e14a4fdfdde2f960ea068ed9f4265 (diff) | |
download | buildroot-novena-070e7c147b114890828b5f087430bb01306a1fe7.tar.gz buildroot-novena-070e7c147b114890828b5f087430bb01306a1fe7.zip |
Patch from Volmat Alain adding SH3/SH3EB SH4EB support
Diffstat (limited to 'toolchain/kernel-headers/kernel-headers.mk')
-rw-r--r-- | toolchain/kernel-headers/kernel-headers.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk index 0e77c4815..f5640a472 100644 --- a/toolchain/kernel-headers/kernel-headers.mk +++ b/toolchain/kernel-headers/kernel-headers.mk @@ -107,10 +107,22 @@ $(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_DIR)/.patched ln -fs arch-ebsa285 arch; fi); \ elif [ "$(ARCH)" = "cris" ];then \ (cd $(LINUX_HEADERS_DIR)/include; ln -fs asm-cris asm;) \ + elif [ "$(ARCH)" = "sh3" ];then \ + (cd $(LINUX_HEADERS_DIR)/include; ln -fs asm-sh asm; \ + cd asm; \ + ln -s cpu-sh3 cpu) \ + elif [ "$(ARCH)" = "sh3eb" ];then \ + (cd $(LINUX_HEADERS_DIR)/include; ln -fs asm-sh asm; \ + cd asm; \ + ln -s cpu-sh3 cpu) \ elif [ "$(ARCH)" = "sh4" ];then \ (cd $(LINUX_HEADERS_DIR)/include; ln -fs asm-sh asm; \ cd asm; \ ln -s cpu-sh4 cpu) \ + elif [ "$(ARCH)" = "sh4eb" ];then \ + (cd $(LINUX_HEADERS_DIR)/include; ln -fs asm-sh asm; \ + cd asm; \ + ln -s cpu-sh4 cpu) \ else \ (cd $(LINUX_HEADERS_DIR)/include; ln -fs asm-$(ARCH)$(NOMMU) asm;) \ fi |