summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorTobias Anderberg <tobias.anderberg@axis.com>2002-09-16 08:16:08 +0000
committerTobias Anderberg <tobias.anderberg@axis.com>2002-09-16 08:16:08 +0000
commit7e973d02053874a35ddc568ec97a1e958c6f6342 (patch)
treefaaae416361f946f79773206929d5f9d729cf62c /Rules.mak
parent3406dbdc401a96c55815f2f54d7758ce34e72413 (diff)
* Updated for the CRIS port.
* Added variable LIBGCC which is included when linking libc.so. Arch specific linker options go into LIBGCC_CFLAGS defined in Config.<arch>.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 02a7666c5..e4baa5ea3 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -35,6 +35,7 @@ SHARED_FULLNAME:=libuClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so
SHARED_MAJORNAME:=libc.so.$(MAJOR_VERSION)
UCLIBC_LDSO:=ld-uClibc.so.$(MAJOR_VERSION)
LIBC:=$(TOPDIR)libc/libc.a
+LIBGCC:=$(shell $(CC) $(LIBGCC_CFLAGS) -print-libgcc-file-name)
NATIVE_ARCH:= ${shell uname -m | sed \
-e 's/i.86/i386/' \
@@ -56,6 +57,7 @@ TARGET_ARCH:=${shell $(CC) -dumpmachine | sed -e s'/-.*//' \
-e 's/v850.*/v850/g' \
-e 's/sh[234]/sh/' \
-e 's/mips.*/mips/' \
+ -e 's/cris.*/cris/' \
}
endif