lua: update to 5.3.4
[openadk.git] / target / config / Config.in.abi
blob664270f14bd918a35e231cfc28b609075f4a5804
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_MIPS64
8 config ADK_TARGET_ABI_N32
9         bool "N32 ABI"
11 config ADK_TARGET_ABI_N64
12         bool "N64 ABI"
14 config ADK_TARGET_ABI_O32
15         bool "O32 ABI"
17 endchoice
19 choice
20 prompt "ABI"
21 depends on ADK_TARGET_ARCH_X86_64 && \
22         (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_MUSL)
24 config ADK_TARGET_ABI_64
25         bool "64 Bit ABI"
27 config ADK_TARGET_ABI_X32
28         bool "x32 ABI"
30 endchoice
32 config ADK_TARGET_ABI
33         string
34         default "o32" if ADK_TARGET_ABI_O32
35         default "n32" if ADK_TARGET_ABI_N32
36         default "n64" if ADK_TARGET_ABI_N64
37         default "32" if ADK_TARGET_ABI_32
38         default "x32" if ADK_TARGET_ABI_X32
39         default "eabihf" if ADK_TARGET_ARCH_ARM && ADK_TARGET_HARD_FLOAT
40         default "eabi" if ADK_TARGET_ARCH_ARM
42 config ADK_TARGET_MIPS_ABI
43         depends on ADK_TARGET_ARCH_MIPS64
44         string
45         default "32" if ADK_TARGET_ABI_O32
46         default "n32" if ADK_TARGET_ABI_N32
47         default "64" if ADK_TARGET_ABI_N64
49 config ADK_TARGET_LIBC_PATH
50         string
51         default "lib32" if ADK_TARGET_ABI_N32
52         default "libx32" if ADK_TARGET_ABI_X32
53         default "lib64" if ADK_TARGET_ABI_64 || ADK_TARGET_ABI_N64 \
54                         || ADK_TARGET_ARCH_AARCH64 \
55                         || ADK_TARGET_ARCH_SPARC64 \
56                         || ADK_TARGET_ARCH_PPC64 \
57                         || ADK_TARGET_ARCH_X86_64
58         default "lib"
60 config ADK_TARGET_ABI_CFLAGS
61         string
62         default "-mabi=32" if ADK_TARGET_ABI_O32
63         default "-mabi=n32" if ADK_TARGET_ABI_N32
64         default "-mabi=64" if ADK_TARGET_ABI_N64
65         default "-m32" if ADK_TARGET_ABI_32
66         default "-mx32" if ADK_TARGET_ABI_X32
67         default "-m64" if ADK_TARGET_ABI_64