annotate sources/patches/uClibc-install.patch @ 67:8c075bf475df

Install the libc.so linker script that got built by uClibc. (Just because uClibc's installer does an "rm" on a file doesn't mean it was _there_.)
author Rob Landley <rob@landley.net>
date Thu, 28 Dec 2006 00:09:03 -0500
parents 57f77c25b39d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
66
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
1 --- uClibc/Makefile.in 2006-12-14 21:13:04.000000000 -0500
67
8c075bf475df Install the libc.so linker script that got built by uClibc. (Just because
Rob Landley <rob@landley.net>
parents: 66
diff changeset
2 +++ uClibc-new/Makefile.in 2006-12-27 23:08:09.000000000 -0500
8c075bf475df Install the libc.so linker script that got built by uClibc. (Just because
Rob Landley <rob@landley.net>
parents: 66
diff changeset
3 @@ -207,21 +207,10 @@
66
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
4 $(LN) -sf $(RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB)$$i.$(MAJOR_VERSION) \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
5 $(PREFIX)$(DEVEL_PREFIX)lib/$$i; \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
6 done
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
7 - if [ -f $(top_builddir)lib/libc.so -a -f $(PREFIX)$(RUNTIME_PREFIX)lib/$(SHARED_MAJORNAME) ] ; then \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
8 - $(RM) $(PREFIX)$(DEVEL_PREFIX)lib/libc.so; \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
9 - sed -e 's:$(NONSHARED_LIBNAME):$(DEVEL_PREFIX)lib/$(NONSHARED_LIBNAME):' \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
10 - -e 's:$(SHARED_MAJORNAME):$(RUNTIME_PREFIX)lib/$(SHARED_MAJORNAME):' \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
11 - -e 's:$(UCLIBC_LDSO):$(RUNTIME_PREFIX)lib/$(UCLIBC_LDSO):' \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
12 - $(top_builddir)lib/libc.so > $(PREFIX)$(DEVEL_PREFIX)lib/libc.so; \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
13 - fi
67
8c075bf475df Install the libc.so linker script that got built by uClibc. (Just because
Rob Landley <rob@landley.net>
parents: 66
diff changeset
14 + -$(INSTALL) -m 644 lib/libc.so $(PREFIX)$(DEVEL_PREFIX)lib/
8c075bf475df Install the libc.so linker script that got built by uClibc. (Just because
Rob Landley <rob@landley.net>
parents: 66
diff changeset
15 ifeq ($(UCLIBC_HAS_THREADS),y)
8c075bf475df Install the libc.so linker script that got built by uClibc. (Just because
Rob Landley <rob@landley.net>
parents: 66
diff changeset
16 ifneq ($(LINUXTHREADS_OLD),y)
66
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
17 - if [ -f $(top_builddir)lib/libpthread.so -a -f $(PREFIX)$(RUNTIME_PREFIX)lib/libpthread.so.$(MAJOR_VERSION) ] ; then \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
18 - $(RM) $(PREFIX)$(DEVEL_PREFIX)lib/libpthread.so; \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
19 - cp $(top_srcdir)extra/scripts/format.lds $(PREFIX)$(DEVEL_PREFIX)lib/libpthread.so; \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
20 - echo "GROUP ( $(RUNTIME_PREFIX)lib/libpthread.so.$(MAJOR_VERSION) $(DEVEL_PREFIX)lib/libpthread_nonshared.a )" \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
21 - >> $(PREFIX)$(DEVEL_PREFIX)lib/libpthread.so; \
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
22 - fi
67
8c075bf475df Install the libc.so linker script that got built by uClibc. (Just because
Rob Landley <rob@landley.net>
parents: 66
diff changeset
23 + -$(INSTALL) -m 644 lib/libpthread.so $(PREFIX)$(DEVEL_PREFIX)lib/
8c075bf475df Install the libc.so linker script that got built by uClibc. (Just because
Rob Landley <rob@landley.net>
parents: 66
diff changeset
24 endif
8c075bf475df Install the libc.so linker script that got built by uClibc. (Just because
Rob Landley <rob@landley.net>
parents: 66
diff changeset
25 endif
66
57f77c25b39d Hit uClibc build with a large rock so it stops inserting hardwired paths in
Rob Landley <rob@landley.net>
parents:
diff changeset
26 ifeq ($(PTHREADS_DEBUG_SUPPORT),y)