config/test_suite.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 22:43:07 2011 +0200 (2011-07-17)
changeset 2893 a8a65758664f
parent 1965 e3d532dd8b5d
child 3150 1d6fd9bde73c
permissions -rw-r--r--
cc/gcc: do not use the core pass-2 to build the baremetal compiler

In case we build a baremetal compiler, use the standard passes:
- core_cc is used to build the C library;
- as such, it is meant to run on build, not host;
- the final compiler is meant to run on host;

As the current final compiler step can not build a baremetal compiler,
call the core backend from the final step.

NB: Currently, newlib is built during the start_files pass, so we have
to have a core compiler by then... Once we can build the baremetal
compiler from the final cc step, then we can move the newlib build to
the proper step, and then get rid of the core pass-1 static compiler...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
mgl@1965
     1
# Test suite config options
mgl@1965
     2
mgl@1965
     3
if EXPERIMENTAL
mgl@1965
     4
mgl@1965
     5
menu "Test suite"
mgl@1965
     6
mgl@1965
     7
config TEST_SUITE
mgl@1965
     8
    bool
mgl@1965
     9
mgl@1965
    10
config TEST_SUITE_GCC
mgl@1965
    11
    bool
mgl@1965
    12
    prompt "GCC test suite"
mgl@1965
    13
    depends on EXPERIMENTAL
mgl@1965
    14
    select TEST_SUITE
mgl@1965
    15
    help
mgl@1965
    16
      Select this option to install the GCC test suite in $CT_PREFIX_DIR/test_suite.
mgl@1965
    17
mgl@1965
    18
      The GCC test suite includes a collection of various toolchain tests for GCC -
mgl@1965
    19
      it utilizes the DejaGnu test framework.
mgl@1965
    20
mgl@1965
    21
      For some tests a network enabled target with ssh server is required.
mgl@1965
    22
benoit@2484
    23
      A helper Makefile is provided for running the tests - please see the included
mgl@1965
    24
      README for information on how to run the test suite.
mgl@1965
    25
mgl@1965
    26
endmenu
mgl@1965
    27
mgl@1965
    28
endif