summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in1
-rw-r--r--libpthread/linuxthreads.old/Makefile.in3
-rw-r--r--libpthread/linuxthreads.old_db/Makefile.in3
-rw-r--r--libpthread/linuxthreads/Makefile.in3
-rw-r--r--libpthread/linuxthreads_db/Makefile.in3
5 files changed, 5 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index a1dc54ca4..e453397bc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -65,6 +65,7 @@ include/bits/uClibc_config.h: extra/config/conf .config $(top_srcdir)extra/scrip
# XXX: FIXME: this is ugly
MAKEFLAGS += -L
include/config/linuxthreads/old.h include/config/linuxthreads/new.h:
+ @true
# For the moment, we have to keep re-running this target
# because the fix includes scripts rely on pre-processers
diff --git a/libpthread/linuxthreads.old/Makefile.in b/libpthread/linuxthreads.old/Makefile.in
index cae839360..aad58170a 100644
--- a/libpthread/linuxthreads.old/Makefile.in
+++ b/libpthread/linuxthreads.old/Makefile.in
@@ -111,8 +111,7 @@ include/bits/pthreadtypes.h: | include/bits
linuxthreads_headers := include/pthread.h include/semaphore.h \
include/bits/pthreadtypes.h
-$(linuxthreads_headers): include/config/linuxthreads/old.h \
- include/config/linuxthreads/new.h
+$(linuxthreads_headers): $(wildcard $(addprefix include/config/linuxthreads/,old.h new.h))
headers-$(UCLIBC_HAS_THREADS) += $(linuxthreads_headers)
objclean-y += libpthread_clean
diff --git a/libpthread/linuxthreads.old_db/Makefile.in b/libpthread/linuxthreads.old_db/Makefile.in
index fb2054f48..818e1e027 100644
--- a/libpthread/linuxthreads.old_db/Makefile.in
+++ b/libpthread/linuxthreads.old_db/Makefile.in
@@ -63,8 +63,7 @@ include/thread_db.h:
$(do_ln) ../$(PTDIR)_db/$(@F) $(top_builddir)$@
linuxthreads_db_headers := include/thread_db.h
-$(linuxthreads_db_headers): include/config/linuxthreads/old.h \
- include/config/linuxthreads/new.h
+$(linuxthreads_db_headers): $(wildcard $(addprefix include/config/linuxthreads/,old.h new.h))
headers-$(PTHREADS_DEBUG_SUPPORT) += $(linuxthreads_db_headers)
objclean-y += libthread_db_clean
diff --git a/libpthread/linuxthreads/Makefile.in b/libpthread/linuxthreads/Makefile.in
index f44677372..0529c613c 100644
--- a/libpthread/linuxthreads/Makefile.in
+++ b/libpthread/linuxthreads/Makefile.in
@@ -124,8 +124,7 @@ include/bits/pthreadtypes.h: | include/bits
linuxthreads_headers := include/pthread.h include/semaphore.h \
include/bits/pthreadtypes.h
-$(linuxthreads_headers): include/config/linuxthreads/old.h \
- include/config/linuxthreads/new.h
+$(linuxthreads_headers): $(wildcard $(addprefix include/config/linuxthreads/,old.h new.h))
headers-$(UCLIBC_HAS_THREADS) += $(linuxthreads_headers)
objclean-y += libpthread_clean
diff --git a/libpthread/linuxthreads_db/Makefile.in b/libpthread/linuxthreads_db/Makefile.in
index 19d854714..75dcbc7a7 100644
--- a/libpthread/linuxthreads_db/Makefile.in
+++ b/libpthread/linuxthreads_db/Makefile.in
@@ -63,8 +63,7 @@ include/thread_db.h:
$(do_ln) ../$(PTDIR)_db/$(@F) $(top_builddir)$@
linuxthreads_db_headers := include/thread_db.h
-$(linuxthreads_db_headers): include/config/linuxthreads/old.h \
- include/config/linuxthreads/new.h
+$(linuxthreads_db_headers): $(wildcard $(addprefix include/config/linuxthreads/,old.h new.h))
headers-$(PTHREADS_DEBUG_SUPPORT) += $(linuxthreads_db_headers)
objclean-y += libthread_db_clean