summaryrefslogtreecommitdiff
path: root/config/global
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-03-29 10:06:58 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-03-29 10:06:58 (GMT)
commiteb765a2a46fea273e582cb26720344e8e3e617a9 (patch)
treee4480322a527384866dab05a9e52f3e21b332426 /config/global
parenta5c8cbcff7428af67b0d507df6899eb3cd780595 (diff)
config: hide arch and kernel selection when used as a backend
When used as a backend, it is the responsibility of the upper-layer build system to set the target architecture and kernel.
Diffstat (limited to 'config/global')
-rw-r--r--config/global/ct-behave.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/config/global/ct-behave.in b/config/global/ct-behave.in
index f3be63e..45da2b8 100644
--- a/config/global/ct-behave.in
+++ b/config/global/ct-behave.in
@@ -11,6 +11,22 @@ config BACKEND
default y if IS_A_BACKEND = "y" || IS_A_BACKEND = "Y"
default n if IS_A_BACKEND != "y" && IS_A_BACKEND != "Y"
+config BACKEND_ARCH
+ string
+ option env="CT_BACKEND_ARCH"
+
+if BACKEND && BACKEND_ARCH = ""
+comment "ERROR !!! Backend architecture is NOT set !"
+endif
+
+config BACKEND_KERNEL
+ string
+ option env="CT_BACKEND_KERNEL"
+
+if BACKEND && BACKEND_KERNEL = ""
+comment "ERROR !!! Backend kernel is NOT set !"
+endif
+
config OBSOLETE
bool
prompt "Use obsolete features"