summaryrefslogtreecommitdiff
path: root/config/backend.in
blob: 9151858c78ca1f1d21ab80ef808bc20710ee740a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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