summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-04 08:38:33 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-04 08:38:33 +0000
commit59c9d20af6744d27285c9a505577308bd1f82781 (patch)
tree22193c15ddcf4902661cc6c3f7cbc621bc198db7 /Rules.mak
parent552febc3b914bd0df4b4b659fdacd2acef36ebef (diff)
A few more little cleanups
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak5
1 files changed, 4 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index e75115e78..92e0ef6e6 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -43,7 +43,8 @@ NATIVE_ARCH = ${shell uname -m | sed \
-e 's/m68k.*/m68k/' \
-e 's/ppc/powerpc/g' \
-e 's/v850.*/v850/g' \
- -e 's/sh[234]/sh/' \
+ -e 's/sh[234].*/sh/' \
+ -e 's/mips.*/mips/' \
}
ifeq ($(strip $(TARGET_ARCH)),)
TARGET_ARCH=${shell $(CC) -dumpmachine | sed -e s'/-.*//' \
@@ -54,6 +55,7 @@ TARGET_ARCH=${shell $(CC) -dumpmachine | sed -e s'/-.*//' \
-e 's/ppc/powerpc/g' \
-e 's/v850.*/v850/g' \
-e 's/sh[234]/sh/' \
+ -e 's/mips.*/mips/' \
}
endif
@@ -106,6 +108,7 @@ ifeq ($(strip $(HAVE_SHARED)),true)
BUILD_DYNAMIC_LINKER=${shell cd $(TOPDIR)lib && pwd}/$(UCLIBC_LDSO)
else
LDSO=$(SYSTEM_LDSO)
+ BUILD_UCLIBC_LDSO=false
DYNAMIC_LINKER=/lib/$(notdir $(SYSTEM_LDSO))
BUILD_DYNAMIC_LINKER=/lib/$(notdir $(SYSTEM_LDSO))
endif