patches/uClibc/0.9.28.1/001-install_dev.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/uClibc/0.9.28.1/001-install_dev.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,22 @@
     1.4 +We know that the kernel headers are in place. Don't try to install them.
     1.5 +
     1.6 +diff -dur uClibc-0.9.28.1.orig/Makefile uClibc-0.9.28.1/Makefile
     1.7 +--- uClibc-0.9.28.1.orig/Makefile	2007-01-28 06:38:00.000000000 +0100
     1.8 ++++ uClibc-0.9.28.1/Makefile	2007-01-28 18:55:46.000000000 +0100
     1.9 +@@ -158,12 +158,10 @@
    1.10 + 	$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib
    1.11 + 	$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
    1.12 + 	-$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/
    1.13 +-	if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \
    1.14 +-		extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
    1.15 +-	else \
    1.16 +-		extra_exclude="" ; \
    1.17 +-	fi ; \
    1.18 +-	tar -chf - include --exclude .svn --exclude CVS $$extra_exclude \
    1.19 ++	extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
    1.20 ++	tar -chf - include --exclude .svn --exclude CVS \
    1.21 ++	                   --exclude include/linux      \
    1.22 ++	                   --exclude include/asm'*'     \
    1.23 + 		| tar -xf - -C $(PREFIX)$(DEVEL_PREFIX)
    1.24 + ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y)
    1.25 + 	# Remove floating point related headers since float support is disabled.