diff options
Diffstat (limited to 'config/backend.in')
-rw-r--r-- | config/backend.in | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/config/backend.in b/config/backend.in new file mode 100644 index 00000000..9151858c --- /dev/null +++ b/config/backend.in @@ -0,0 +1,33 @@ +# Options specific to crosstool-NG acting as a backend + +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 BACKEND_ERROR + bool + +config BACKEND_ARCH + string + option env="CT_BACKEND_ARCH" + +if BACKEND && BACKEND_ARCH = "" +comment "ERROR !!! Backend architecture is NOT set !" +config BACKEND_ERROR + default y +endif + +config BACKEND_KERNEL + string + option env="CT_BACKEND_KERNEL" + +if BACKEND && BACKEND_KERNEL = "" +comment "ERROR !!! Backend kernel is NOT set !" +config BACKEND_ERROR + default y +endif |