patches/uClibc/0.9.28.2/001-install_dev.patch
changeset 747 d3e603e7c17c
parent 746 b150d6f590fc
child 748 61cd4eb6034d
     1.1 --- a/patches/uClibc/0.9.28.2/001-install_dev.patch	Mon Jul 28 21:08:01 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,22 +0,0 @@
     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 - 	echo '/* Dont use _syscall#() macros; use the syscall() function */' > \
    1.25 - 		$(PREFIX)$(DEVEL_PREFIX)include/bits/syscalls.h