summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old_db
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-17 19:17:00 +0200
committerAustin Foxley <austinf@cetoncorp.com>2009-08-19 13:01:53 -0700
commitba24c697a8fcda7111defc6525c2a59cb34daf0c (patch)
tree8acdcca2c22dceb20fcb5928a080cf0ff0ddb0ed /libpthread/linuxthreads.old_db
parente929ab1fc309d16820e181a539cf30f0732d3a03 (diff)
downloaduClibc-alpine-ba24c697a8fcda7111defc6525c2a59cb34daf0c.tar.bz2
uClibc-alpine-ba24c697a8fcda7111defc6525c2a59cb34daf0c.tar.xz
support building out-of-tree
Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/linuxthreads.old_db')
-rw-r--r--libpthread/linuxthreads.old_db/Makefile.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/libpthread/linuxthreads.old_db/Makefile.in b/libpthread/linuxthreads.old_db/Makefile.in
index 1c89a9f0e..2f9077905 100644
--- a/libpthread/linuxthreads.old_db/Makefile.in
+++ b/libpthread/linuxthreads.old_db/Makefile.in
@@ -5,6 +5,8 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
+subdirs += libpthread/linuxthreads.old_db
+
# Get the thread include dependencies and shared object name
CFLAGS-linuxthreads.old_db := -DNOT_IN_libc -DLIBPTHREAD_SO="\"libpthread.so.$(MAJOR_VERSION)\""
@@ -59,18 +61,18 @@ $(top_builddir)lib/libthread_db.a: $(libthread_db-a-y)
$(Q)$(RM) $@
$(do_ar)
-include/thread_db.h:
- $(do_ln) ../$(PTDIR)_db/$(@F) $(top_builddir)$@
+$(top_builddir)include/thread_db.h:
+ $(do_ln) $(call rel_srcdir)$(PTDIR)_db/$(@F) $@
-linuxthreads_db_headers := include/thread_db.h
-$(linuxthreads_db_headers): $(wildcard $(addprefix include/config/linuxthreads/,old.h new.h))
+linuxthreads_db_headers := $(top_builddir)include/thread_db.h
+$(linuxthreads_db_headers): $(wildcard $(addprefix $(top_builddir)include/config/linuxthreads/,old.h new.h))
headers-$(PTHREADS_DEBUG_SUPPORT) += $(linuxthreads_db_headers)
objclean-y += libthread_db_clean
headers_clean-y += linuxthreads_db_headers_clean
linuxthreads_db_headers_clean:
- $(do_rm) $(top_builddir)include/thread_db.h
+ $(do_rm) $(linuxthreads_db_headers)
libthread_db_clean:
$(do_rm) $(addprefix $(libthread_db_OUT)/*., o os oS a)