summaryrefslogtreecommitdiff
path: root/toolchain/uclibc-ng/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-22 18:55:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-22 18:56:09 +0200
commit6b064efaf9cadeadcaad537595a72a235ffb3283 (patch)
tree0a8ca4f7d9097ad1fb434740bc9c714862fceaad /toolchain/uclibc-ng/Makefile
parenteab3ef4a549276e46a2f926c26a019159ad7bd37 (diff)
DODEBUG for x86 must be on, need to investigate later
Diffstat (limited to 'toolchain/uclibc-ng/Makefile')
-rw-r--r--toolchain/uclibc-ng/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile
index 303d97e63..e4ef665b4 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -40,6 +40,13 @@ ifeq ($(ADK_TARGET_ABI_EABIHF),y)
$(SED) 's/.*\(UCLIBC_HAS_SOFT_FLOAT\).*/# \1 is not set/' ${WRKBUILD}/.config
endif
endif
+ifeq ($(ADK_LINUX_X86),y)
+ $(SED) 's/.*\(CONFIG_386\).*/# \1 is not set/' ${WRKBUILD}/.config
+ $(SED) 's/.*\(CONFIG_486\).*/# \1 is not set/' ${WRKBUILD}/.config
+ $(SED) 's/.*\(CONFIG_586\).*/# \1 is not set/' ${WRKBUILD}/.config
+ $(SED) 's/.*\(CONFIG_686\).*/\1=y/' ${WRKBUILD}/.config
+ $(SED) 's/.*\(TARGET_SUBARCH\).*/\1="i686"/' ${WRKBUILD}/.config
+endif
ifeq ($(ADK_LINUX_64),y)
$(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS64\).*/\1=y/' ${WRKBUILD}/.config
$(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS32\).*/# \1 is not set/' ${WRKBUILD}/.config