config/backend.in
changeset 1869 619a87a01562
parent 1868 89f16f038b92
child 1877 b579a5cb53d1
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/backend.in	Mon Mar 29 20:15:25 2010 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# Options specific to crosstool-NG acting as a backend
     1.5 +
     1.6 +config IS_A_BACKEND
     1.7 +    string
     1.8 +    option env="CT_IS_A_BACKEND"
     1.9 +
    1.10 +config BACKEND
    1.11 +    bool
    1.12 +    default y if IS_A_BACKEND =  "y" || IS_A_BACKEND =  "Y"
    1.13 +    default n if IS_A_BACKEND != "y" && IS_A_BACKEND != "Y"
    1.14 +
    1.15 +config BACKEND_ERROR
    1.16 +    bool
    1.17 +
    1.18 +config BACKEND_ARCH
    1.19 +    string
    1.20 +    option env="CT_BACKEND_ARCH"
    1.21 +
    1.22 +if BACKEND && BACKEND_ARCH = ""
    1.23 +comment "ERROR !!! Backend architecture is NOT set !"
    1.24 +config BACKEND_ERROR
    1.25 +    default y
    1.26 +endif
    1.27 +
    1.28 +config BACKEND_KERNEL
    1.29 +    string
    1.30 +    option env="CT_BACKEND_KERNEL"
    1.31 +
    1.32 +if BACKEND && BACKEND_KERNEL = ""
    1.33 +comment "ERROR !!! Backend kernel is NOT set !"
    1.34 +config BACKEND_ERROR
    1.35 +    default y
    1.36 +endif