From daca7d6672db1c4c03c00b916888eeb176422ede Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 5 Mar 2010 09:19:56 +0100 Subject: 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. --- config/global/ct-behave.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config') 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" -- cgit v1.2.3