From eb765a2a46fea273e582cb26720344e8e3e617a9 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 29 Mar 2010 12:06:58 +0200 Subject: 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. --- config/global/ct-behave.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'config/global') diff --git a/config/global/ct-behave.in b/config/global/ct-behave.in index f3be63e3..45da2b8d 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" -- cgit v1.2.3