patches/uClibc/0.9.28.1/001-install_dev.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jun 27 11:19:12 2008 +0000 (2008-06-27)
changeset 627 17a57be570a5
permissions -rw-r--r--
Update the samples.

/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 13 8 5 0 +++--
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 35 24 11 0 +++++++++----
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 11 7 4 0 +++-
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 11 7 4 0 +++-
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 19 11 8 0 ++++---
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 11 7 4 0 +++-
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 11 7 4 0 +++-
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 11 7 4 0 +++-
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 11 7 4 0 +++-
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 16 10 6 0 ++++--
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 13 8 5 0 +++--
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 11 7 4 0 +++-
12 files changed, 110 insertions(+), 63 deletions(-)
     1 We know that the kernel headers are in place. Don't try to install them.
     2 
     3 diff -dur uClibc-0.9.28.1.orig/Makefile uClibc-0.9.28.1/Makefile
     4 --- uClibc-0.9.28.1.orig/Makefile	2007-01-28 06:38:00.000000000 +0100
     5 +++ uClibc-0.9.28.1/Makefile	2007-01-28 18:55:46.000000000 +0100
     6 @@ -158,12 +158,10 @@
     7  	$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib
     8  	$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
     9  	-$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/
    10 -	if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \
    11 -		extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
    12 -	else \
    13 -		extra_exclude="" ; \
    14 -	fi ; \
    15 -	tar -chf - include --exclude .svn --exclude CVS $$extra_exclude \
    16 +	extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
    17 +	tar -chf - include --exclude .svn --exclude CVS \
    18 +	                   --exclude include/linux      \
    19 +	                   --exclude include/asm'*'     \
    20  		| tar -xf - -C $(PREFIX)$(DEVEL_PREFIX)
    21  ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y)
    22  	# Remove floating point related headers since float support is disabled.