make sure sh4 headers get setup properly
authorMike Frysinger <vapier@gentoo.org>
Fri, 8 Oct 2004 15:28:30 +0000 (15:28 -0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 8 Oct 2004 15:28:30 +0000 (15:28 -0000)
make/kernel-headers.mk

index 102410c3de0669d81256630bda525a09272aa15e..de513f6e5b95a52406b19ad02a7a5f8acf3dee95 100644 (file)
@@ -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