summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-20 00:31:35 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-20 00:31:35 -0500
commit9dbe643b99c9b4af22044d9ca57108b929cb9ecd (patch)
treef831c489438a91809d80c7a2c1d5fa8b66f1474b /toolchain
parentfac3e853a3b99ea30f0face4bee7bebe1235e76d (diff)
remove lowercase ABI symbols. tested with x86/mips64 variants
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile4
-rw-r--r--toolchain/uclibc-ng/Makefile6
-rw-r--r--toolchain/uclibc/Makefile6
3 files changed, 8 insertions, 8 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index bba498390..7acf88d5b 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -134,10 +134,10 @@ endif
endif
ifeq ($(ADK_TARGET_ARCH_X86_64),y)
-ifeq ($(ADK_x32),y)
+ifeq ($(ADK_TARGET_ABI_X32),y)
GCC_FINAL_CONFOPTS+= --with-abi=x32
endif
-ifeq ($(ADK_64),y)
+ifeq ($(ADK_TARGET_ABI_64),y)
GCC_FINAL_CONFOPTS+= --disable-biarch --disable-multilib
endif
endif
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile
index 8ceadc2d4..ee5b2f313 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -197,17 +197,17 @@ endif
ifeq ($(ADK_TARGET_ARCH_MIPS64),y)
$(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS64\).*/\1=y/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS32\).*/# \1 is not set/' ${WRKBUILD}/.config
-ifeq ($(ADK_n64),y)
+ifeq ($(ADK_TARGET_ABI_N64),y)
$(SED) 's/.*\(CONFIG_MIPS_N64_ABI\).*/\1=y/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_O32_ABI\).*/# \1 is not set/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_N32_ABI\).*/# \1 is not set/' ${WRKBUILD}/.config
endif
-ifeq ($(ADK_n32),y)
+ifeq ($(ADK_TARGET_ABI_N32),y)
$(SED) 's/.*\(CONFIG_MIPS_N32_ABI\).*/\1=y/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_O32_ABI\).*/# \1 is not set/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_N64_ABI\).*/# \1 is not set/' ${WRKBUILD}/.config
endif
-ifeq ($(ADK_o32),y)
+ifeq ($(ADK_TARGET_ABI_O32),y)
$(SED) 's/.*\(CONFIG_MIPS_O32_ABI\).*/\1=y/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_N32_ABI\).*/# \1 is not set/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_N64_ABI\).*/# \1 is not set/' ${WRKBUILD}/.config
diff --git a/toolchain/uclibc/Makefile b/toolchain/uclibc/Makefile
index 7214e17ed..7b1b55b10 100644
--- a/toolchain/uclibc/Makefile
+++ b/toolchain/uclibc/Makefile
@@ -137,17 +137,17 @@ endif
endif
# mips64
ifeq ($(ADK_TARGET_ARCH_MIPS64),y)
-ifeq ($(ADK_n64),y)
+ifeq ($(ADK_TARGET_ABI_N64),y)
$(SED) 's/.*\(CONFIG_MIPS_N64_ABI\).*/\1=y/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_O32_ABI\).*/# \1 is not set/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_N32_ABI\).*/# \1 is not set/' ${WRKBUILD}/.config
endif
-ifeq ($(ADK_n32),y)
+ifeq ($(ADK_TARGET_ABI_N32),y)
$(SED) 's/.*\(CONFIG_MIPS_N32_ABI\).*/\1=y/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_O32_ABI\).*/# \1 is not set/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_N64_ABI\).*/# \1 is not set/' ${WRKBUILD}/.config
endif
-ifeq ($(ADK_o32),y)
+ifeq ($(ADK_TARGET_ABI_O32),y)
$(SED) 's/.*\(CONFIG_MIPS_O32_ABI\).*/\1=y/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_N32_ABI\).*/# \1 is not set/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_N64_ABI\).*/# \1 is not set/' ${WRKBUILD}/.config