summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make/kernel-headers.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/kernel-headers.mk b/make/kernel-headers.mk
index 102410c3d..de513f6e5 100644
--- a/make/kernel-headers.mk
+++ b/make/kernel-headers.mk
@@ -98,6 +98,10 @@ $(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)" = "sh4" ];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