]> Git Repo - uclibc-ng.git/commitdiff
Remove unified syscall support (it should just be a per-arch
authorEric Andersen <[email protected]>
Thu, 8 Aug 2002 07:55:31 +0000 (07:55 -0000)
committerEric Andersen <[email protected]>
Thu, 8 Aug 2002 07:55:31 +0000 (07:55 -0000)
decision, with syscalls.h adjusted to match).  Add symlinks
to make tools like mklibs.py be happy.
 -Erik

Makefile

index 84134b343afacd1eeadc1adf515bdca9a346cd7b..f5b8d4b636503640462b2cf4ea70875267301c0f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -200,11 +200,6 @@ uClibc_config: Makefile Config
        else \
            echo "#undef __UCLIBC_HAS_RPC__" >> include/bits/uClibc_config.h ; \
        fi
-       @if [ "$(UNIFIED_SYSCALL)" = "true" ] ; then \
-           echo "#define __UCLIBC_USE_UNIFIED_SYSCALL__ 1" >> include/bits/uClibc_config.h ; \
-       else \
-           echo "#undef __UCLIBC_USE_UNIFIED_SYSCALL__" >> include/bits/uClibc_config.h ; \
-       fi
        @echo "#define C_SYMBOL_PREFIX "\""$(C_SYMBOL_PREFIX)"\" >> include/bits/uClibc_config.h
        @if [ "$(DOLFS)" = "true" ] ; then \
            echo "#define __UCLIBC_HAVE_LFS__ 1" >> include/bits/uClibc_config.h ; \
@@ -257,6 +252,11 @@ install_dev:
        -chown -R `id | sed 's/^uid=\([0-9]*\).*gid=\([0-9]*\).*$$/\1.\2/'` $(PREFIX)$(DEVEL_PREFIX)
 ifeq ($(strip $(HAVE_SHARED)),true)
        -find lib/ -type l -name '*.so' -exec cp -a {} $(PREFIX)$(DEVEL_PREFIX)/lib ';'
+       # If we build shared libraries then the static libs are PIC...
+       # Make _pic.a symlinks to make mklibs.py and similar tools happy.
+       for i in `find lib/  -type f -name '*.a' | sed -e 's/lib\///'` ; do \
+               ln -sf $$i $(PREFIX)$(DEVEL_PREFIX)/lib/`echo $$i | sed -e 's/\.a$$/_pic.a/'`; \
+       done
 endif
 
 
This page took 0.025379 seconds and 4 git commands to generate.