glibc-based toolchain for PowerPC can now build using the latest kernel headers (2.6.26.1).
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 13 7 6 0 +++++++------
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 13 7 6 0 +++++++------
2 files changed, 14 insertions(+), 12 deletions(-)
2 bits/sysnum.h needs a cross compiler to be built. Fortunately, this
3 header is not needed to build gcc. Move generation of this header.
5 Index: uClibc/Makefile.in
6 ===================================================================
7 --- uClibc/Makefile.in (revision 18651)
8 +++ uClibc/Makefile.in (working copy)
13 +ifeq ($(UCLIBC_HAS_LOCALE),y)
14 + $(MAKE) locale_headers
23 mv -f $$tmp include/bits/sysnum.h; \
25 -ifeq ($(UCLIBC_HAS_LOCALE),y)
26 - $(MAKE) locale_headers
31 install: install_runtime install_dev