Bläddra i källkod

fix ALL_SUBDIRS/DIRS setting so clean always kills everything

Mike Frysinger 20 år sedan
förälder
incheckning
6a986cd382
1 ändrade filer med 6 tillägg och 5 borttagningar
  1. 6 5
      test/Makefile

+ 6 - 5
test/Makefile

@@ -21,19 +21,20 @@ TOPDIR=../
 
 
 .EXPORT_ALL_VARIABLES:
 .EXPORT_ALL_VARIABLES:
 
 
+
 ALL_SUBDIRS = \
 ALL_SUBDIRS = \
 	args assert crypt ctype pwd_grp signal silly stdlib string unistd \
 	args assert crypt ctype pwd_grp signal silly stdlib string unistd \
 	#misc
 	#misc
-DIRS = $(ALL_SUBDIRS)
+DIRS := $(ALL_SUBDIRS)
 
 
-ifeq ($(HAVE_SHARED),y)
+ifeq ($(HAVE_SHARED)$(BUILD_UCLIBC_LDSO),yy)
-	ifeq ($(BUILD_UCLIBC_LDSO),y)
+	DIRS += dlopen
-		DIRS += dlopen
-	endif
 endif
 endif
 ifeq ($(UCLIBC_HAS_THREADS),y)
 ifeq ($(UCLIBC_HAS_THREADS),y)
 	DIRS += pthread
 	DIRS += pthread
 endif
 endif
+ALL_SUBDIRS += pthread dlopen
+
 
 
 all: subdirs
 all: subdirs