diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-08-08 07:55:31 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-08-08 07:55:31 +0000 |
commit | 34117d1d2cdb7dc1fd5f38e95078045cd76d6141 (patch) | |
tree | 1ba54f828a9dea6302c107ae3d6ae8d900d38e4f /Makefile | |
parent | 698815f954934077da514362189e3a8f3714a2b8 (diff) |
Remove unified syscall support (it should just be a per-arch
decision, with syscalls.h adjusted to match). Add symlinks
to make tools like mklibs.py be happy.
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |