patches/uClibc/0.9.29/140-bits_sysnum_h.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 18 23:00:46 2011 +0200 (2011-05-18)
changeset 2467 200836977ce6
parent 108 69407950a2a2
permissions -rw-r--r--
config: rename variables that are arrays

Make it explicit that a variable is an array bu the name of the variable.
It will be used later when .config gets munged to allow both multiple
arguments and arguments with spaces at the same time to be passed from the
configuration down to the build scripts.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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