|
@@ -1,59 +1,39 @@
|
|
# This file is part of the OpenADK project. OpenADK is copyrighted
|
|
# This file is part of the OpenADK project. OpenADK is copyrighted
|
|
# material, please see the LICENCE file in the top-level directory.
|
|
# material, please see the LICENCE file in the top-level directory.
|
|
|
|
|
|
-config ADK_o32
|
|
|
|
- bool
|
|
|
|
-
|
|
|
|
-config ADK_n32
|
|
|
|
- bool
|
|
|
|
-
|
|
|
|
-config ADK_n64
|
|
|
|
- bool
|
|
|
|
-
|
|
|
|
-config ADK_32
|
|
|
|
- bool
|
|
|
|
-
|
|
|
|
-config ADK_64
|
|
|
|
- bool
|
|
|
|
-
|
|
|
|
-config ADK_x32
|
|
|
|
- bool
|
|
|
|
-
|
|
|
|
config ADK_TARGET_ABI
|
|
config ADK_TARGET_ABI
|
|
string
|
|
string
|
|
- default "n32" if ADK_n32
|
|
|
|
- default "n64" if ADK_n64
|
|
|
|
- default "32" if ADK_32
|
|
|
|
- default "x32" if ADK_x32
|
|
|
|
|
|
+ default "n32" if ADK_TARGET_ABI_N32
|
|
|
|
+ default "n64" if ADK_TARGET_ABI_N64
|
|
|
|
+ default "32" if ADK_TARGET_ABI_32
|
|
|
|
+ default "x32" if ADK_TARGET_ABI_X32
|
|
default "eabihf" if ADK_TARGET_ARCH_ARM && ADK_TARGET_HARD_FLOAT
|
|
default "eabihf" if ADK_TARGET_ARCH_ARM && ADK_TARGET_HARD_FLOAT
|
|
default "eabi" if ADK_TARGET_ARCH_ARM
|
|
default "eabi" if ADK_TARGET_ARCH_ARM
|
|
|
|
|
|
config ADK_TARGET_MIPS_ABI
|
|
config ADK_TARGET_MIPS_ABI
|
|
depends on ADK_TARGET_ARCH_MIPS64
|
|
depends on ADK_TARGET_ARCH_MIPS64
|
|
string
|
|
string
|
|
- default "32" if ADK_o32
|
|
|
|
- default "n32" if ADK_n32
|
|
|
|
- default "64" if ADK_n64
|
|
|
|
|
|
+ default "32" if ADK_TARGET_ABI_O32
|
|
|
|
+ default "n32" if ADK_TARGET_ABI_N32
|
|
|
|
+ default "64" if ADK_TARGET_ABI_N64
|
|
|
|
|
|
config ADK_TARGET_LIBC_PATH
|
|
config ADK_TARGET_LIBC_PATH
|
|
string
|
|
string
|
|
- default "lib" if ADK_32
|
|
|
|
- default "lib32" if ADK_n32
|
|
|
|
- default "libx32" if ADK_x32
|
|
|
|
- default "lib64" if ADK_n64 \
|
|
|
|
- || ADK_64 \
|
|
|
|
- || ADK_TARGET_ARCH_AARCH64 \
|
|
|
|
- || ADK_TARGET_ARCH_SPARC64 \
|
|
|
|
- || ADK_TARGET_ARCH_PPC64 \
|
|
|
|
- || ADK_TARGET_ARCH_X86_64
|
|
|
|
|
|
+ default "lib32" if ADK_TARGET_ABI_N32
|
|
|
|
+ default "libx32" if ADK_TARGET_ABI_X32
|
|
|
|
+ default "lib64" if ADK_TARGET_ABI_64 || ADK_TARGET_ABI_N64 \
|
|
|
|
+ || ADK_TARGET_ARCH_AARCH64 \
|
|
|
|
+ || ADK_TARGET_ARCH_SPARC64 \
|
|
|
|
+ || ADK_TARGET_ARCH_PPC64 \
|
|
|
|
+ || ADK_TARGET_ARCH_X86_64
|
|
default "lib"
|
|
default "lib"
|
|
|
|
|
|
config ADK_TARGET_ABI_CFLAGS
|
|
config ADK_TARGET_ABI_CFLAGS
|
|
string
|
|
string
|
|
- default "-mabi=32" if ADK_o32
|
|
|
|
- default "-mabi=n32" if ADK_n32
|
|
|
|
- default "-mabi=64" if ADK_n64
|
|
|
|
- default "-m32" if ADK_32
|
|
|
|
- default "-mx32" if ADK_x32
|
|
|
|
- default "-m64" if ADK_64
|
|
|
|
|
|
+ default "-mabi=32" if ADK_TARGET_ABI_O32
|
|
|
|
+ default "-mabi=n32" if ADK_TARGET_ABI_N32
|
|
|
|
+ default "-mabi=64" if ADK_TARGET_ABI_N64
|
|
|
|
+ default "-m32" if ADK_TARGET_ABI_32
|
|
|
|
+ default "-mx32" if ADK_TARGET_ABI_X32
|
|
|
|
+ default "-m64" if ADK_TARGET_ABI_64
|
|
|
|
|