.hgignore
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jun 13 23:45:29 2010 +0200 (2010-06-13)
changeset 1982 63cee3d5ab85
child 2133 804a8f6d286a
permissions -rw-r--r--
libc/newlib: build in the 'start files' pass

A few facts:
- building the C library requires a proper core compiler
- core compiler is issued from one of the core passes
- the C library is required to build libstdc++
- newlib is only built for baremetal
- in bare metal, the final compiler is issued from one of the core passes

So we need to build the C library between core pass 1 and core pass 2.
The only place is eithe libc_headers() or libc_start_files(). The most
pertinent seems to be libc_start_files().

So we build newlib from libc_start_files(), and leave libc() empty.
     1 syntax: glob
     2 
     3 # Generated files
     4 Makefile
     5 ct-ng
     6 docs/ct-ng.1
     7 docs/ct-ng.1.gz
     8 paths.mk
     9 scripts/crosstool-NG.sh
    10 scripts/saveSample.sh
    11 scripts/showTuple.sh
    12 
    13 # Temporaries
    14 .*.swp
    15 log.*
    16 
    17 # Working files
    18 kconfig/conf
    19 kconfig/mconf
    20 kconfig/**.o
    21 kconfig/**.dep
    22 config.gen/
    23 .config
    24 .config.old
    25 targets/