diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-03-05 09:19:56 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-03-05 09:19:56 +0100 |
commit | daca7d6672db1c4c03c00b916888eeb176422ede (patch) | |
tree | afc799d974aa50ff44eecfc7030390abce1f0597 /config/global | |
parent | 6a151cfe7443cddfd7bf83d713ca712ff8b5d27a (diff) | |
download | crosstool-ng-daca7d6672db1c4c03c00b916888eeb176422ede.tar.gz crosstool-ng-daca7d6672db1c4c03c00b916888eeb176422ede.tar.bz2 crosstool-ng-daca7d6672db1c4c03c00b916888eeb176422ede.zip |
config: prepare for build-system backend
When acting as a backend for a build-system, we should not build
any application that runs on the target, that is:
- no native gdb
- no companion libraries
- no binutils libraries
- no debug tools (save for gdbserver)
- ...
Here, we simply prepare the (hidden) config option that will detect
that we are acting as a back-end.
Update doc accordingly.
Diffstat (limited to 'config/global')
-rw-r--r-- | config/global/ct-behave.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/global/ct-behave.in b/config/global/ct-behave.in index 49f76ac7..53f4adf9 100644 --- a/config/global/ct-behave.in +++ b/config/global/ct-behave.in @@ -2,6 +2,15 @@ comment "crosstool-NG behavior" +config IS_A_BACKEND + string + option env="CT_IS_A_BACKEND" + +config BACKEND + bool + default y if IS_A_BACKEND = "y" || IS_A_BACKEND = "Y" + default n if IS_A_BACKEND != "y" && IS_A_BACKEND != "Y" + config OBSOLETE bool prompt "Use obsolete features" |