config/backend.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 29 20:15:25 2010 +0200 (2010-03-29)
changeset 1869 619a87a01562
parent 1868 config/global/ct-behave.in@89f16f038b92
child 1877 b579a5cb53d1
permissions -rw-r--r--
config: move backend-related options to their own file
     1 # Options specific to crosstool-NG acting as a backend
     2 
     3 config IS_A_BACKEND
     4     string
     5     option env="CT_IS_A_BACKEND"
     6 
     7 config BACKEND
     8     bool
     9     default y if IS_A_BACKEND =  "y" || IS_A_BACKEND =  "Y"
    10     default n if IS_A_BACKEND != "y" && IS_A_BACKEND != "Y"
    11 
    12 config BACKEND_ERROR
    13     bool
    14 
    15 config BACKEND_ARCH
    16     string
    17     option env="CT_BACKEND_ARCH"
    18 
    19 if BACKEND && BACKEND_ARCH = ""
    20 comment "ERROR !!! Backend architecture is NOT set !"
    21 config BACKEND_ERROR
    22     default y
    23 endif
    24 
    25 config BACKEND_KERNEL
    26     string
    27     option env="CT_BACKEND_KERNEL"
    28 
    29 if BACKEND && BACKEND_KERNEL = ""
    30 comment "ERROR !!! Backend kernel is NOT set !"
    31 config BACKEND_ERROR
    32     default y
    33 endif