patches/uClibc/0.9.29/400-bits_sysnum_h.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat May 19 22:52:47 2007 +0000 (2007-05-19)
changeset 108 69407950a2a2
permissions -rw-r--r--
Add uClibc-0.9.29:
- associated patch set
- update the munging function to accomodate the new config variables
libfloat version was missing from the previous commit... :-(
Better handle the case where the sample directory already exist but isn't under revision control, and in case the destination file doesn't exist in the sample directory.
yann@108
     1
YEM-20070519:
yann@108
     2
bits/sysnum.h needs a cross compiler to be built. Fortunately, this
yann@108
     3
header is not needed to build gcc. Move generation of this header.
yann@108
     4
yann@108
     5
Index: uClibc/Makefile.in
yann@108
     6
===================================================================
yann@108
     7
--- uClibc/Makefile.in	(revision 18651)
yann@108
     8
+++ uClibc/Makefile.in	(working copy)
yann@108
     9
@@ -91,6 +91,11 @@
yann@108
    10
 			$(LN) -fs $$i .; \
yann@108
    11
 		done; \
yann@108
    12
 	fi
yann@108
    13
+ifeq ($(UCLIBC_HAS_LOCALE),y)
yann@108
    14
+	$(MAKE) locale_headers
yann@108
    15
+endif
yann@108
    16
+
yann@108
    17
+pregen: headers
yann@108
    18
 	$(Q)\
yann@108
    19
 	set -e; \
yann@108
    20
 	cd $(top_builddir); \
yann@108
    21
@@ -102,12 +107,7 @@
yann@108
    22
 	else \
yann@108
    23
 		mv -f $$tmp include/bits/sysnum.h; \
yann@108
    24
 	fi
yann@108
    25
-ifeq ($(UCLIBC_HAS_LOCALE),y)
yann@108
    26
-	$(MAKE) locale_headers
yann@108
    27
-endif
yann@108
    28
 
yann@108
    29
-pregen: headers
yann@108
    30
-
yann@108
    31
 install: install_runtime install_dev
yann@108
    32
 
yann@108
    33