Browse Source

DODEBUG for x86 must be on, need to investigate later

Waldemar Brodkorb 11 years ago
parent
commit
6b064efaf9
2 changed files with 8 additions and 2 deletions
  1. 1 2
      target/x86/uclibc-ng.config
  2. 7 0
      toolchain/uclibc-ng/Makefile

+ 1 - 2
target/x86/uclibc-ng.config

@@ -215,7 +215,6 @@ HARDWIRED_ABSPATH=y
 UCLIBC_HAS_ARC4RANDOM=y
 # ARC4RANDOM_USES_NODEV is not set
 # UCLIBC_HAS_SSP is not set
-UCLIBC_BUILD_LD_GC=y
 UCLIBC_BUILD_RELRO=y
 UCLIBC_BUILD_NOW=y
 UCLIBC_BUILD_NOEXECSTACK=y
@@ -225,7 +224,7 @@ UCLIBC_BUILD_NOEXECSTACK=y
 #
 CROSS_COMPILER_PREFIX=""
 UCLIBC_EXTRA_CFLAGS=""
-# DODEBUG is not set
+DODEBUG=y
 # DOSTRIP is not set
 # DOASSERTS is not set
 # SUPPORT_LD_DEBUG is not set

+ 7 - 0
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