patches/uClibc/0.9.29/500-headers-no-cross-gcc.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu May 17 22:10:48 2007 +0000 (2007-05-17)
changeset 97 63a30dd47eb8
permissions -rw-r--r--
Make the debug config menu a generated file.
Add a uClibc-0.9.29 patch directory with one patch (from me!).
Update the armeb-unknown-linux-uclibc sample to uClibc-0.9.29.
Some eyecandy in the gdb build process.
yann@97
     1
Index: uClibc/Makefile.in
yann@97
     2
===================================================================
yann@97
     3
--- uClibc/Makefile.in	(revision 18643)
yann@97
     4
+++ uClibc/Makefile.in	(working copy)
yann@97
     5
@@ -96,7 +96,7 @@
yann@97
     6
 	cd $(top_builddir); \
yann@97
     7
 	tmp=`mktemp include/bits/sysnum.h.XXXXXX 2>/dev/null`; \
yann@97
     8
 	[ -z "$$tmp" ] && tmp='include/bits/sysnum.h.new'; \
yann@97
     9
-	KERNEL_HEADERS="${KERNEL_HEADERS}" top_builddir=. CC="$(CC) $(CPU_CFLAGS)" $(SHELL) extra/scripts/gen_bits_syscall_h.sh > $$tmp; \
yann@97
    10
+	KERNEL_HEADERS="${KERNEL_HEADERS}" top_builddir=. CC=$(HOSTCC) $(SHELL) extra/scripts/gen_bits_syscall_h.sh > $$tmp; \
yann@97
    11
 	if cmp include/bits/sysnum.h $$tmp >/dev/null 2>&1; then \
yann@97
    12
 		$(RM) $$tmp; \
yann@97
    13
 	else \