summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/glibc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-09 18:38:19 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-09 18:38:19 +0000
commitb4cb437c6595ff8ac13506e502fe04b1a60c4e04 (patch)
treef529de217094f1a49049f90c49d779a49e19cd7c /openembedded/packages/glibc
parent3baacb49c13a48798d45e30a0a0076ca0b8c9e6a (diff)
downloadpoky-b4cb437c6595ff8ac13506e502fe04b1a60c4e04.tar.gz
Merge packages changes from OE into poky.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@386 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/glibc')
-rw-r--r--openembedded/packages/glibc/files/5090_all_stubs-rule-fix.patch39
-rw-r--r--openembedded/packages/glibc/files/etc/ld.so.conf2
-rw-r--r--openembedded/packages/glibc/glibc_2.3.5+cvs20050627.bb1
3 files changed, 41 insertions, 1 deletions
diff --git a/openembedded/packages/glibc/files/5090_all_stubs-rule-fix.patch b/openembedded/packages/glibc/files/5090_all_stubs-rule-fix.patch
new file mode 100644
index 0000000000..c445a5296e
--- /dev/null
+++ b/openembedded/packages/glibc/files/5090_all_stubs-rule-fix.patch
@@ -0,0 +1,39 @@
1Index: Makerules
2===================================================================
3RCS file: /cvs/glibc/libc/Makerules,v
4retrieving revision 1.430
5diff -u -r1.430 Makerules
6--- libc/Makerules 5 Mar 2005 19:24:32 -0000 1.430
7+++ libc/Makerules 22 Apr 2005 18:31:27 -0000
8@@ -1390,15 +1390,26 @@
9 $(addprefix $(objpfx),$(extra-objs))
10 $(objpfx)stubs: $(objs-for-stubs)
11 ifneq (,$(strip $(objs-for-stubs)))
12- $(OBJDUMP) -h $^ | \
13- $(AWK) '/\.gnu\.glibc-stub\./ { \
14- sub(/\.gnu\.glibc-stub\./, "", $$2); \
15- stubs[$$2] = 1; } \
16- END { for (s in stubs) print "#define __stub_" s }' > $@T
17+ $(stub-obj-list)
18+ cat $@L | xargs \
19+ $(OBJDUMP) -h | \
20+ $(AWK) '/\.gnu\.glibc-stub\./ { \
21+ sub(/\.gnu\.glibc-stub\./, "", $$2); \
22+ stubs[$$2] = 1; } \
23+ END { for (s in stubs) print "#define __stub_" s }' \
24+ > $@T
25+ -rm -f $@L
26 mv -f $@T $@
27 else
28 > $@
29 endif
30+
31+define stub-obj-list
32+-@rm -f $@L
33+-@echo "Generating stub obj list..."
34+$(foreach file,$^,
35+@echo >> $@L '$(file)')
36+endef
37
38 # This information is not used for making distributions any more.
39 # But it's used by MakeTAGS for making TAGS files and the .pot files.
diff --git a/openembedded/packages/glibc/files/etc/ld.so.conf b/openembedded/packages/glibc/files/etc/ld.so.conf
index 3f9b41aabb..fb1aab516d 100644
--- a/openembedded/packages/glibc/files/etc/ld.so.conf
+++ b/openembedded/packages/glibc/files/etc/ld.so.conf
@@ -1,3 +1,3 @@
1/usr/local/lib 1/usr/local/lib
2/opt/QtPalmtop/lib 2/opt/QtPalmtop/lib
3 3/usr/X11R6/lib
diff --git a/openembedded/packages/glibc/glibc_2.3.5+cvs20050627.bb b/openembedded/packages/glibc/glibc_2.3.5+cvs20050627.bb
index d1925902e4..c8f1d56841 100644
--- a/openembedded/packages/glibc/glibc_2.3.5+cvs20050627.bb
+++ b/openembedded/packages/glibc/glibc_2.3.5+cvs20050627.bb
@@ -53,6 +53,7 @@ SRC_URI = "http://familiar.handhelds.org/source/v0.8.3/stash_libc_sources.redhat
53 file://fhs-linux-paths.patch;patch=1 \ 53 file://fhs-linux-paths.patch;patch=1 \
54 file://dl-cache-libcmp.patch;patch=1 \ 54 file://dl-cache-libcmp.patch;patch=1 \
55 file://ldsocache-varrun.patch;patch=1 \ 55 file://ldsocache-varrun.patch;patch=1 \
56 file://5090_all_stubs-rule-fix.patch;patch=1 \
56 file://etc/ld.so.conf \ 57 file://etc/ld.so.conf \
57 file://generate-supported.mk" 58 file://generate-supported.mk"
58 59