From 0f438808581c6ad512f30bb022018cc05360a5c1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 25 May 2015 09:55:25 -0500 Subject: use shell based testrunner for uClibc-ng git --- toolchain/uclibc-ng/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'toolchain') diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile index c34ff91e8..6aaae53dd 100644 --- a/toolchain/uclibc-ng/Makefile +++ b/toolchain/uclibc-ng/Makefile @@ -282,6 +282,16 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.install_headers $(WRKBUILD)/.fixup: ifeq ($(ADK_UCLIBC_TEST),y) +ifeq ($(ADK_TARGET_LIB_UCLIBC_NG_GIT),y) + PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \ + CC='$(TARGET_CC)' \ + TEST_INSTALLED_UCLIBC=1 \ + UCLIBC_ONLY=1 \ + UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ + UCLIBC_EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \ + VERBOSE=1 \ + test_compile test_gen +else PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \ CC='$(TARGET_CC)' \ TEST_INSTALLED_UCLIBC=1 \ @@ -291,6 +301,7 @@ ifeq ($(ADK_UCLIBC_TEST),y) VERBOSE=1 \ test_compile endif +endif ifeq ($(ADK_TARGET_TOOLCHAIN),y) # cleanup toolchain -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -exec rm {} \; -- cgit v1.2.3