1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
6 depends on ADK_TARGET_ARCH_MIPS64
8 config ADK_TARGET_ABI_N32
11 config ADK_TARGET_ABI_N64
14 config ADK_TARGET_ABI_O32
21 depends on ADK_TARGET_ARCH_X86_64 && \
22 (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_MUSL)
24 config ADK_TARGET_ABI_64
27 config ADK_TARGET_ABI_X32
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
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
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
60 config ADK_TARGET_ABI_CFLAGS
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