diff options
author | Ralph Hempel <ralph.hempel@lantiq.com> | 2008-01-27 17:59:20 +0000 |
---|---|---|
committer | Ralph Hempel <ralph.hempel@lantiq.com> | 2008-01-27 17:59:20 +0000 |
commit | 3dfc679bb985d2070b0e645393d6e0f5fd4760e6 (patch) | |
tree | 78854962c31c8caf594c6dd432abdca6983f3253 /toolchain/uClibc/patches/0.9.28.2/150-portability.patch | |
parent | 214601c01245b4e2e1c017043d077b58ace54b08 (diff) | |
download | mtk-20170518-3dfc679bb985d2070b0e645393d6e0f5fd4760e6.zip mtk-20170518-3dfc679bb985d2070b0e645393d6e0f5fd4760e6.tar.gz mtk-20170518-3dfc679bb985d2070b0e645393d6e0f5fd4760e6.tar.bz2 |
add uClibc version 0.9.28.2, 0.9.28.3 and snapshots for development purpose (and already deployed evaluation boards) the version 0.9.29 is still the default version
SVN-Revision: 10282
Diffstat (limited to 'toolchain/uClibc/patches/0.9.28.2/150-portability.patch')
-rw-r--r-- | toolchain/uClibc/patches/0.9.28.2/150-portability.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/0.9.28.2/150-portability.patch b/toolchain/uClibc/patches/0.9.28.2/150-portability.patch new file mode 100644 index 0000000..c3a8510 --- /dev/null +++ b/toolchain/uClibc/patches/0.9.28.2/150-portability.patch @@ -0,0 +1,29 @@ +Fix portability of build infrastructure +* cp -d -> cp -P +* tar --exclude is a GNU tar feature + +--- uClibc-0.9.28/Makefile.orig Sun Jun 11 19:08:56 2006 ++++ uClibc-0.9.28/Makefile Sun Jun 11 19:12:05 2006 +@@ -158,12 +158,7 @@ install_dev: + $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib + $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include + -$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/ +- if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \ +- extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \ +- else \ +- extra_exclude="" ; \ +- fi ; \ +- tar -chf - include --exclude .svn --exclude CVS $$extra_exclude \ ++ tar -chf - include \ + | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX) + ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y) + # Remove floating point related headers since float support is disabled. +@@ -253,7 +248,7 @@ ifeq ($(strip $(HAVE_SHARED)),y) + $(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)lib + $(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \ + $(PREFIX)$(RUNTIME_PREFIX)lib +- cp -dRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib ++ cp -pRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib + @if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \ + set -e; \ + $(SHELL_SET_X); \ |