crosstool-ng/patches/uClibc/0.9.29/400-bits_sysnum_h.patch
Yann E. MORIN" aa6ae43fd7 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.
2007-05-19 22:52:47 +00:00

34 lines
707 B
Diff

YEM-20070519:
bits/sysnum.h needs a cross compiler to be built. Fortunately, this
header is not needed to build gcc. Move generation of this header.
Index: uClibc/Makefile.in
===================================================================
--- uClibc/Makefile.in (revision 18651)
+++ uClibc/Makefile.in (working copy)
@@ -91,6 +91,11 @@
$(LN) -fs $$i .; \
done; \
fi
+ifeq ($(UCLIBC_HAS_LOCALE),y)
+ $(MAKE) locale_headers
+endif
+
+pregen: headers
$(Q)\
set -e; \
cd $(top_builddir); \
@@ -102,12 +107,7 @@
else \
mv -f $$tmp include/bits/sysnum.h; \
fi
-ifeq ($(UCLIBC_HAS_LOCALE),y)
- $(MAKE) locale_headers
-endif
-pregen: headers
-
install: install_runtime install_dev