diff options
-rw-r--r-- | target/config/Config.in.libc | 6 | ||||
-rw-r--r-- | toolchain/uclibc-ng/Makefile | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc index 7562357ab..d649df303 100644 --- a/target/config/Config.in.libc +++ b/target/config/Config.in.libc @@ -186,6 +186,12 @@ config ADK_TARGET_SUPPORTS_NPTL config ADK_TARGET_SUPPORTS_LT bool +config ADK_TARGET_LIBC_UTILS + bool + default n if ADK_TARGET_ARCH_LM32 + default n if ADK_TARGET_ARCH_H8300 + default y + config ADK_TARGET_LIBC string default "uclibc-ng" if ADK_TARGET_LIB_UCLIBC_NG diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile index 865467152..04a768f26 100644 --- a/toolchain/uclibc-ng/Makefile +++ b/toolchain/uclibc-ng/Makefile @@ -335,7 +335,7 @@ $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured UCLIBC_EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \ VERBOSE=1 \ all -ifeq ($(ADK_TARGET_ARCH_LM32),) +ifeq ($(ADK_TARGET_LIBC_UTILS),y) PATH='$(HOST_PATH)' $(MAKE) $(UCLIBC_MAKEOPTS) -C $(WRKBUILD) \ ARCH="$(ADK_TARGET_ARCH)" \ CROSS_COMPILE="$(TARGET_CROSS)" \ @@ -373,7 +373,7 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled UCLIBC_EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \ VERBOSE=1 \ install_runtime -ifeq ($(ADK_TARGET_ARCH_LM32),) +ifeq ($(ADK_TARGET_LIBC_UTILS),y) PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \ ARCH="$(ADK_TARGET_ARCH)" \ CROSS_COMPILE="$(TARGET_CROSS)" \ |