Update samples to the latest architecture framework.
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 57 32 25 0 +++++++-----
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 60 34 26 0 +++++++------
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 43 23 20 0 +++++----
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 57 32 25 0 +++++++-----
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 46 26 20 0 ++++++----
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 56 30 26 0 ++++++------
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 43 23 20 0 +++++----
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 53 27 26 0 ++++++-----
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 43 23 20 0 +++++----
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 49 29 20 0 ++++++-----
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 51 26 25 0 ++++++-----
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 43 23 20 0 +++++----
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 44 21 23 0 ++++------
13 files changed, 349 insertions(+), 296 deletions(-)
1 There are at least three weird glitches in the Makefile:
2 - the test operator is a dual-equal sign (==) when it should be a single one (=);
3 - the exclude options are not accepted as is by GNU tar;
4 - how on earth could KERNEL_SOURCE possibly be equal to DEVEL_PREFIX ???
6 We (Cedric DUVAL and I, Yann E. MORIN) are not quite sure why it is that way.
7 We're not quite sure either on how to solve this.
9 What we need is to built a toolchain; in no way we need to install the linux headers.
10 ==> systematically exclude them from the [s]tar command.
12 This patch is inspired by the svn repository of uClibc as of 20060209.
13 diff -dur /home/ymorin/dev/uClibc-0.9.28/Makefile uClibc-0.9.28/Makefile
14 --- /home/ymorin/dev/uClibc-0.9.28/Makefile 2005-08-18 00:49:49.000000000 +0200
15 +++ uClibc-0.9.28/Makefile 2006-02-09 17:06:58.000000000 +0100
17 $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib
18 $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
19 -$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/
20 - if [ "$(KERNEL_SOURCE)" == "$(DEVEL_PREFIX)" ] ; then \
21 - extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
23 - extra_exclude="" ; \
25 - tar -chf - include --exclude .svn --exclude CVS $$extra_exclude \
26 +# if [ "$(KERNEL_SOURCE)" == "$(DEVEL_PREFIX)" ] ; then \
27 +# extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
29 +# extra_exclude="" ; \
31 +# tar -chf - include --exclude .svn --exclude CVS $$extra_exclude \
32 +# | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX)
33 + printf ".svn\n.cvsignore\nCVS\n" > tar_exclude ; \
34 + ls -1d include/linux include/asm* >> tar_exclude ; \
35 + tar -chf - -X tar_exclude include \
36 | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX)
38 ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y)
39 # Remove floating point related headers since float support is disabled.