summaryrefslogtreecommitdiff
path: root/package/uclibc-ng-test/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-29 18:58:30 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-29 18:58:40 +0200
commit30867a25a00b36d59803e5775d373c293afb5c5f (patch)
tree11be1526d0b1bbc3eb3f3250db9e8dc7b5cd8011 /package/uclibc-ng-test/Makefile
parent2501b8c92b5dbca637f1aac24b45174bd31c2361 (diff)
uclibc-ng-test: allow to disable threads and dynamic linking tests
Diffstat (limited to 'package/uclibc-ng-test/Makefile')
-rw-r--r--package/uclibc-ng-test/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/uclibc-ng-test/Makefile b/package/uclibc-ng-test/Makefile
index 0a6613aaa..bb28bf157 100644
--- a/package/uclibc-ng-test/Makefile
+++ b/package/uclibc-ng-test/Makefile
@@ -21,6 +21,12 @@ $(eval $(call PKG_template,UCLIBC_NG_TEST,uclibc-ng-test,$(PKG_VERSION)-${PKG_RE
CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
+ifeq ($(ADK_TARGET_WITHOUT_THREADS),y)
+XAKE_FLAGS+= NO_THREADS=1
+endif
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
+XAKE_FLAGS+= NO_DL=1
+endif
ifeq ($(ADK_RUNTIME_ENABLE_LOCALE),)
XAKE_FLAGS+= NO_LOCALE=1
endif