summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-08 15:28:30 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-08 15:28:30 +0000
commitea9a9f434971e5cfbb626ab2a4584bbfb001a3ca (patch)
treeffdaf4474a4e319cbdb7972cccc37cd44e35b8aa /make
parent766fa31a215a30eb0cb009f93b3a48b35f401fb0 (diff)
downloadbuildroot-novena-ea9a9f434971e5cfbb626ab2a4584bbfb001a3ca.tar.gz
buildroot-novena-ea9a9f434971e5cfbb626ab2a4584bbfb001a3ca.zip
make sure sh4 headers get setup properly
Diffstat (limited to 'make')
-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