diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-08 15:28:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-08 15:28:30 +0000 |
commit | ea9a9f434971e5cfbb626ab2a4584bbfb001a3ca (patch) | |
tree | ffdaf4474a4e319cbdb7972cccc37cd44e35b8aa /make | |
parent | 766fa31a215a30eb0cb009f93b3a48b35f401fb0 (diff) |
make sure sh4 headers get setup properly
Diffstat (limited to 'make')
-rw-r--r-- | make/kernel-headers.mk | 4 |
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 |