aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2010-03-22 00:27:19 +0900
committermaximilian attems <max@stro.at>2010-03-22 02:12:02 +0100
commit25db233dc8b8c759bf6489c4cf2ec5b62f6de652 (patch)
tree17503d1ef72c672735313a808ab225c1613a404f
parentb4a590446427e774529dead48800a6afab0cfc44 (diff)
downloadklibc-25db233dc8b8c759bf6489c4cf2ec5b62f6de652.tar.gz
[klibc] sh4 build fix
make[2]: Entering directory `/build/buildd-klibc_1.5.17-3-sh4-O7e0CP/klibc-1.5.17' scripts/Makefile.clean:17: /build/buildd-klibc_1.5.17-3-sh4-O7e0CP/klibc-1.5.17/usr/klibc/arch/sha/Makefile: No such file or directory Debian sh porters sent this patch to fix the issue. Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a39dc4f6daa816..8e4dbb04355bf5 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ export OBJDUMP := $(KLIBCROSS)objdump
NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include)
-ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/sh4/sh/)
+ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/sh.*/sh/)
export KLIBCARCH ?= $(ARCH)
export KLIBCARCHDIR := $(shell echo $(KLIBCARCH) | sed -e s/s390x/s390/)