patches/uClibc/0.9.28.1/001-install_dev.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jul 22 13:29:08 2008 +0000 (2008-07-22)
changeset 710 021546adce69
permissions -rw-r--r--
Allow selecting 'latest' snapshot, as well as 'specific' date snapshot for glibc.
Update uClibc config to commonalise some help.

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