summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-05 04:49:14 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-05 04:49:14 +0000
commitd79988b6ec28b70c2db783a847acedc4f6a42984 (patch)
tree30fde43b3d34ef36d9df4c97b6e290dc5838e18e /Rules.mak
parentaaf810accd6cfdd0731d296ec0df7b2111801720 (diff)
Export TARGET_ARCH
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak9
1 files changed, 4 insertions, 5 deletions
diff --git a/Rules.mak b/Rules.mak
index f77737153..0225d19ad 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -42,7 +42,9 @@ MAJOR_VERSION:=0
MINOR_VERSION:=9
SUBLEVEL:=15
VERSION:=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL)
-export MAJOR_VERSION MINOR_VERSION SUBLEVEL VERSION
+# Ensure consistent filename sort order
+LC_COLLATE:= C
+export MAJOR_VERSION MINOR_VERSION SUBLEVEL VERSION LC_COLLATE
SHARED_FULLNAME:=libuClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so
SHARED_MAJORNAME:=libc.so.$(MAJOR_VERSION)
@@ -88,10 +90,7 @@ TARGET_ARCH:=$(shell $(CC) -dumpmachine | sed -e s'/-.*//' \
-e 's/cris.*/cris/' \
)
endif
-
-# Ensure consistent filename sort order
-LC_COLLATE := C
-export LC_COLLATE
+export TARGET_ARCH
ARFLAGS:=r