1 Fix portability of build infrastructure
3 * tar --exclude is a GNU tar feature
5 --- uClibc-0.9.28/Makefile.orig Sun Jun 11 19:08:56 2006
6 +++ uClibc-0.9.28/Makefile Sun Jun 11 19:12:05 2006
7 @@ -158,12 +158,7 @@ install_dev:
8 $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib
9 $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
10 -$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/
11 - if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \
12 - extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
14 - extra_exclude="" ; \
16 - tar -chf - include --exclude .svn --exclude CVS $$extra_exclude \
17 + tar -chf - include \
18 | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX)
19 ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y)
20 # Remove floating point related headers since float support is disabled.
21 @@ -253,7 +248,7 @@ ifeq ($(strip $(HAVE_SHARED)),y)
22 $(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)lib
23 $(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
24 $(PREFIX)$(RUNTIME_PREFIX)lib
25 - cp -dRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
26 + cp -PRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
27 @if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \