summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Test.mak9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/Test.mak b/test/Test.mak
index 9519eb9ea..6e1ced516 100644
--- a/test/Test.mak
+++ b/test/Test.mak
@@ -22,7 +22,14 @@ U_TARGETS := $(TESTS)
G_TARGETS := $(patsubst %,%_glibc,$(U_TARGETS))
U_TARGETS += $(U_TESTS)
G_TARGETS += $(G_TESTS)
-TARGETS = $(U_TARGETS) $(G_TARGETS)
+
+TARGETS =
+ifeq ($(GLIBC_ONLY),)
+TARGETS += $(U_TARGETS)
+endif
+ifeq ($(UCLIBC_ONLY),)
+TARGETS += $(G_TARGETS)
+endif
all: $(TARGETS)