OSDN Git Service

buildsys: remove surplus slashes from test dir paths
[uclinux-h8/uClibc.git] / test / Makefile
index 5b240f4..e34c295 100644 (file)
@@ -26,32 +26,35 @@ endif
 ifneq ($(UCLIBC_HAS_REGEX),y)
        DIRS := $(filter-out regex,$(DIRS))
 endif
+ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
+       DIRS := $(filter-out tls nptl,$(DIRS))
+endif
 ifneq ($(UCLIBC_HAS_WCHAR),y)
        DIRS := $(filter-out locale-mbwc,$(DIRS))
 endif
 ifneq ($(UCLIBC_HAS_LOCALE),y)
        DIRS := $(filter-out locale,$(DIRS))
 endif
-ifeq ($(UCLIBC_HAS_CRYPT_STUB),y)
+ifneq ($(UCLIBC_HAS_CRYPT_IMPL),y)
        DIRS := $(filter-out crypt,$(DIRS))
 endif
 ifeq ($(HAS_NO_THREADS),y)
        DIRS := $(filter-out pthread,$(DIRS))
 endif
-DIRS := $(filter-out math,$(DIRS))
 
 test check all: run
 
 run: compile subdirs_run
 
-compile:subdirs_compile
-       @echo 0 > $(COUNTER)
+compile: $(top_builddir)$(LOCAL_INSTALL_PATH) subdirs_compile
+
+$(top_builddir)$(LOCAL_INSTALL_PATH):
+       $(Q)$(MAKE) -C $(top_builddir) $(LOCAL_INSTALL_PATH)
 
 tags:
        ctags -R
 
 clean: subdirs_clean
-       @rm -f $(COUNTER)
 
 subdirs: $(patsubst %, _dir_%, $(DIRS))
 subdirs_compile: $(patsubst %, _dircompile_%, $(DIRS))