diff options
author | David McCullough <davidm@snapgear.com> | 2003-02-17 13:03:21 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2003-02-17 13:03:21 +0000 |
commit | b2eb218fc338067d292f7e26fd4a176f27fa036b (patch) | |
tree | 1e8eb76556a3eec90be9374bee9bab3f76338aa2 /Rules.mak | |
parent | 5433dd6660505ef694a1d8699c507da5a7c722e4 (diff) |
updates to the uClinux-dist romfs and uClinux shared library targets.
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 + |