imgtec-ci20: genimage config/ u-boot env
[openadk.git] / target / config / Config.in.abi
blobdb799f70e1a754d2eca68b4eb8753c7b7ef38caf
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 choice
5 prompt "ABI"
6 depends on ADK_TARGET_ARCH_XTENSA && ADK_TARGET_CPU_XTENSA_DC233C
8 config ADK_TARGET_ABI_WINDOWED
9         bool "Windowed ABI"
11 config ADK_TARGET_ABI_CALL0
12         bool "Call0 ABI"
14 endchoice
16 choice
17 prompt "ABI"
18 depends on ADK_TARGET_ARCH_MIPS64
20 config ADK_TARGET_ABI_N32
21         bool "N32 ABI"
23 config ADK_TARGET_ABI_N64
24         bool "N64 ABI"
26 config ADK_TARGET_ABI_O32
27         bool "O32 ABI"
29 endchoice
31 choice
32 prompt "ABI"
33 depends on ADK_TARGET_ARCH_X86_64 && \
34         (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_MUSL)
36 config ADK_TARGET_ABI_64
37         bool "64 Bit ABI"
39 config ADK_TARGET_ABI_X32
40         bool "x32 ABI"
42 endchoice
44 config ADK_TARGET_ABI_ILP32
45         bool
46         depends on ADK_TARGET_ARCH_RISCV32
48 config ADK_TARGET_ABI_ILP32F
49         bool
50         depends on ADK_TARGET_ARCH_RISCV32
52 config ADK_TARGET_ABI_ILP32D
53         bool
54         depends on ADK_TARGET_ARCH_RISCV32
56 config ADK_TARGET_ABI_LP64
57         bool
58         depends on ADK_TARGET_ARCH_RISCV64
60 config ADK_TARGET_ABI_LP64F
61         bool
62         depends on ADK_TARGET_ARCH_RISCV64
64 config ADK_TARGET_ABI_LP64D
65         bool
66         depends on ADK_TARGET_ARCH_RISCV64
68 config ADK_TARGET_ABI
69         string
70         default "o32" if ADK_TARGET_ABI_O32
71         default "n32" if ADK_TARGET_ABI_N32
72         default "n64" if ADK_TARGET_ABI_N64
73         default "32" if ADK_TARGET_ABI_32
74         default "x32" if ADK_TARGET_ABI_X32
75         default "eabihf" if ADK_TARGET_ARCH_ARM && ADK_TARGET_HARD_FLOAT
76         default "eabi" if ADK_TARGET_ARCH_ARM
77         default "windowed" if ADK_TARGET_ABI_WINDOWED
78         default "call0" if ADK_TARGET_ABI_CALL0
80 config ADK_TARGET_ABI_RISCV
81         depends on ADK_TARGET_ARCH_RISCV32 || ADK_TARGET_ARCH_RISCV64
82         string
83         default "lp64" if ADK_TARGET_ABI_LP64
84         default "lp64f" if ADK_TARGET_ABI_LP64F
85         default "lp64d" if ADK_TARGET_ABI_LP64D
86         default "ilp32" if ADK_TARGET_ABI_ILP32
87         default "ilp32f" if ADK_TARGET_ABI_ILP32F
88         default "ilp32d" if ADK_TARGET_ABI_ILP32D
90 config ADK_TARGET_ABI_MIPS64
91         depends on ADK_TARGET_ARCH_MIPS64
92         string
93         default "32" if ADK_TARGET_ABI_O32
94         default "n32" if ADK_TARGET_ABI_N32
95         default "64" if ADK_TARGET_ABI_N64
97 config ADK_TARGET_LIBC_PATH
98         string
99         default "lib32" if ADK_TARGET_ABI_N32 || ADK_TARGET_ARCH_RISC32
100         default "libx32" if ADK_TARGET_ABI_X32
101         default "lib64" if ADK_TARGET_ABI_64 || ADK_TARGET_ABI_N64 \
102                         || ADK_TARGET_ARCH_AARCH64 \
103                         || ADK_TARGET_ARCH_SPARC64 \
104                         || ADK_TARGET_ARCH_PPC64 \
105                         || ADK_TARGET_ARCH_RISC64 \
106                         || ADK_TARGET_ARCH_X86_64
107         default "lib"
109 config ADK_TARGET_ABI_CFLAGS
110         string
111         default "-mabi=32" if ADK_TARGET_ABI_O32
112         default "-mabi=n32" if ADK_TARGET_ABI_N32
113         default "-mabi=64" if ADK_TARGET_ABI_N64
114         default "-m32" if ADK_TARGET_ABI_32
115         default "-mx32" if ADK_TARGET_ABI_X32
116         default "-m64" if ADK_TARGET_ABI_64
117         default "-mabi=lp64" if ADK_TARGET_ABI_LP64
118         default "-mabi=lp64f" if ADK_TARGET_ABI_LP64F
119         default "-mabi=lp64d" if ADK_TARGET_ABI_LP64D
120         default "-mabi=ilp32" if ADK_TARGET_ABI_ILP32
121         default "-mabi=ilp32f" if ADK_TARGET_ABI_ILP32F
122         default "-mabi=ilp32d" if ADK_TARGET_ABI_ILP32D