From ea9a9f434971e5cfbb626ab2a4584bbfb001a3ca Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 8 Oct 2004 15:28:30 +0000 Subject: [PATCH] make sure sh4 headers get setup properly --- make/kernel-headers.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/make/kernel-headers.mk b/make/kernel-headers.mk index 102410c3de..de513f6e5b 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 -- 2.30.2