summaryrefslogtreecommitdiff
path: root/toolchain/uclibc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/uclibc/Makefile')
-rw-r--r--toolchain/uclibc/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/toolchain/uclibc/Makefile b/toolchain/uclibc/Makefile
index 760bbdebe..759db985e 100644
--- a/toolchain/uclibc/Makefile
+++ b/toolchain/uclibc/Makefile
@@ -30,6 +30,10 @@ else
$(SED) 's/.*\(ARCH_LITTLE_ENDIAN\).*/# \1 is not set/' ${WRKBUILD}/.config
$(SED) 's/.*\(ARCH_WANTS_LITTLE_ENDIAN\).*/# \1 is not set/' ${WRKBUILD}/.config
endif
+ifeq ($(ADK_TARGET_UCLINUX),y)
+ $(SED) 's/.*\(UCLIBC_FORMAT_FLAT_SEP_DATA\).*/\1=y/' ${WRKBUILD}/.config
+ $(SED) 's/.*\(ARCH_USE_MMU\).*/# \1 is not set/' ${WRKBUILD}/.config
+endif
ifeq ($(ADK_TARGET_USE_STATIC_LIBS)$(ADK_TARGET_BINFMT_FLAT),)
$(SED) 's/.*\(HAVE_SHARED\).*/\1=y/' ${WRKBUILD}/.config
else
@@ -40,12 +44,6 @@ ifeq ($(ADK_TARGET_USE_GNU_HASHSTYLE),y)
else
$(SED) 's/.*\(LDSO_GNU_HASH_SUPPORT\).*/# \1 is not set/' ${WRKBUILD}/.config
endif
-ifneq ($(ADK_PACKAGE_GDB),)
- $(SED) "s/.*\(PTHREADS_DEBUG_SUPPORT\).*/\1=y/" ${WRKBUILD}/.config
-endif
-ifneq ($(ADK_PACKAGE_GDBSERVER),)
- $(SED) "s/.*\(PTHREADS_DEBUG_SUPPORT\).*/\1=y/" ${WRKBUILD}/.config
-endif
ifeq ($(ADK_TARGET_USE_SSP),y)
$(SED) 's,.*UCLIBC_HAS_SSP,UCLIBC_HAS_SSP=y,' ${WRKBUILD}/.config
echo "UCLIBC_HAS_SSP_COMPAT=n" >> ${WRKBUILD}/.config
@@ -154,7 +152,7 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.install_headers
$(WRKBUILD)/.fixup:
ifeq ($(ADK_UCLIBC_TEST),y)
- PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \
+ PATH='$(HOST_PATH)' $(MAKE) ${UCLIBC_MAKEOPTS} -C $(WRKBUILD) \
TEST_INSTALLED_UCLIBC=1 \
UCLIBC_ONLY=1 \
UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \