From b2eb218fc338067d292f7e26fd4a176f27fa036b Mon Sep 17 00:00:00 2001 From: David McCullough Date: Mon, 17 Feb 2003 13:03:21 +0000 Subject: updates to the uClinux-dist romfs and uClinux shared library targets. --- Rules.mak | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index ec4978de9..4b9773d57 100644 --- a/Rules.mak +++ b/Rules.mak @@ -34,7 +34,9 @@ # make CROSS=mipsel-linux- # will build uClibc for 'mipsel'. +ifndef CROSS CROSS= +endif CC= $(CROSS)gcc AR= $(CROSS)ar LD= $(CROSS)ld @@ -224,3 +226,16 @@ LIBGCC_DIR:=$(dir $(LIBGCC)) # Very few people will need to change this value from the default... TARGET_PREFIX = / +######################################## +# +# uClinux shared lib support +# + +ifdef CONFIG_BINFMT_SHARED_FLAT + # For the shared version of this, we specify no stack and its library ID + FLTFLAGS += -s 0 + LIBID=1 + export LIBID FLTFLAGS + SHARED_TARGET = lib/libc +endif + -- cgit v1.2.3