Skip to content

Commit

Permalink
Merge pull request #549 from stilor/backend-obsolete
Browse files Browse the repository at this point in the history
Declare BACKEND obsolete.
  • Loading branch information
stilor committed Jan 24, 2017
2 parents 9061763 + 83d78d3 commit 027a75c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
1 change: 1 addition & 0 deletions config/backend.in
Expand Up @@ -6,6 +6,7 @@ config IS_A_BACKEND

config BACKEND
bool
depends on OBSOLETE
default y if IS_A_BACKEND = "y" || IS_A_BACKEND = "Y"

if BACKEND
Expand Down
1 change: 0 additions & 1 deletion docs/0 - Table of content.txt
Expand Up @@ -21,7 +21,6 @@ _________________/
3- Configuring a toolchain
- Interesting config options
- Re-building an existing toolchain
- Using as a backend for a build-system

4- Building the toolchain
- Stopping and restarting a build
Expand Down
16 changes: 0 additions & 16 deletions docs/3 - Configuring a toolchain.txt
Expand Up @@ -115,19 +115,3 @@ toolchain with this configuration, just redirect the output to the

Then, you can review and change the configuration by running:
ct-ng menuconfig


Using as a backend for a build-system |
--------------------------------------+

Crosstool-NG can be used as a backend for an automated build-system. In this
case, some components that are expected to run on the target (eg. the native
gdb, ltrace, DUMA...) are not available in the menuconfig, and they are not
build either, as it is considered the responsibility of the build-system to
build its own versions of those tools.

If you want to use crosstool-NG as a backend to generate your toolchains for
your build-system, you have to set and export this environment variable:
CT_IS_A_BACKEND=y

(case is not sensitive, you can say Y).

0 comments on commit 027a75c

Please sign in to comment.