summaryrefslogtreecommitdiff
path: root/toolchain/uclibc-ng/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-08 19:55:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-08 19:56:37 +0200
commit704a25b7c5ba35df23f1cefe668dee351ce0deeb (patch)
treeeed7ed149b0478845e5af30d261c5bd0a9f7d8c6 /toolchain/uclibc-ng/Makefile
parentb458fc2bd5f039a2473559ac4fc93aeda97f58b8 (diff)
first steps to get testsuite of uClibc running
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 58ca42389..92f6347da 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -124,6 +124,13 @@ $(WRKBUILD)/.fixup:
RUNTIME_PREFIX=/ \
CPU_CFLAGS="$(TARGET_CFLAGS)" \
all install_runtime
+ifeq ($(ADK_UCLIBC_TEST),y)
+ PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD)/test \
+ UCLIBC_ONLY=1 \
+ TEST_INSTALLED_UCLIBC=1 \
+ CPU_CFLAGS="$(TARGET_CFLAGS)" \
+ compile
+endif
ifeq ($(ADK_TARGET_TOOLCHAIN),y)
# cleanup toolchain
-find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -delete