From: Jan-Benedict G. <jb...@us...> - 2006-01-08 21:47:48
|
Update of /cvsroot/linux-vax/toolchain/patches In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30143 Added Files: uclibc-000042-tar_-X_instead_of_--exclude-from.patch Log Message: - Modify to work with any tar implementation. --- NEW FILE: uclibc-000042-tar_-X_instead_of_--exclude-from.patch --- --- src-uclibc-fresh/Makefile.in 2006-01-08 20:31:40.000000000 +0100 +++ src-uclibc-hacked/Makefile.in 2006-01-08 20:32:13.000000000 +0100 @@ -107,12 +107,12 @@ RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB # Installs header files. install_headers: $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include - echo -e ".svn\n.cvsignore\nCVS" > tar_exclude ; \ + printf '.svn\n.cvsignore\nCVS\n' > tar_exclude ; \ if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \ ls -1d include/linux include/asm* >> tar_exclude ; \ fi ; \ - $(TAR) -chf - --exclude-from tar_exclude include \ - | $(TAR) -xf - -C $(PREFIX)$(DEVEL_PREFIX) + $(TAR) chfX - tar_exclude include \ + | $(TAR) xf - -C $(PREFIX)$(DEVEL_PREFIX) rm -f tar_exclude echo -e '#ifndef _LIBC_INTERNAL_H\n#define _LIBC_INTERNAL_H 1\n#endif\n' > \ $(PREFIX)$(DEVEL_PREFIX)include/libc-internal.h |