summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-19 13:03:16 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-19 13:03:16 +0000
commit75bc31026afdb2de58011803e8a765b58c87b6f8 (patch)
tree90f3e62d1aa3889b1f9146c4b683a5c753a6ec82 /meta/packages/glibc
parente32f910a5be9614f50e860fbd78ea1627555e038 (diff)
downloadpoky-75bc31026afdb2de58011803e8a765b58c87b6f8.tar.gz
glibc/glibc-intermediate: No need to install headers/libs to cross directory (populate_staging speedup)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2765 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/glibc')
-rw-r--r--meta/packages/glibc/glibc_2.3.5+cvs20050627.bb23
-rw-r--r--meta/packages/glibc/glibc_2.4.bb23
-rw-r--r--meta/packages/glibc/glibc_2.5.bb23
-rw-r--r--meta/packages/glibc/glibc_csl-2005q3-2.bb23
4 files changed, 0 insertions, 92 deletions
diff --git a/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb b/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb
index 619f8ecdeb..93a9806dbb 100644
--- a/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb
+++ b/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb
@@ -143,29 +143,6 @@ do_stage() {
143 done 143 done
144 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so 144 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so
145 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so 145 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so
146
147 rm -f ${CROSS_DIR}/${TARGET_SYS}/lib/libc.so.6
148 oe_runmake 'install_root=${CROSS_DIR}/${TARGET_SYS}' \
149 'includedir=/include' 'libdir=/lib' 'slibdir=/lib' \
150 '${CROSS_DIR}/${TARGET_SYS}/lib/libc.so.6' \
151 install-headers install-lib
152
153 install -d ${CROSS_DIR}/${TARGET_SYS}/include/gnu \
154 ${CROSS_DIR}/${TARGET_SYS}/include/bits \
155 ${CROSS_DIR}/${TARGET_SYS}/include/rpcsvc
156 install -m 0644 ${S}/include/gnu/stubs.h ${CROSS_DIR}/${TARGET_SYS}/include/gnu/
157 install -m 0644 ${B}/bits/stdio_lim.h ${CROSS_DIR}/${TARGET_SYS}/include/bits/
158 install -m 0644 misc/syscall-list.h ${CROSS_DIR}/${TARGET_SYS}/include/bits/syscall.h
159 for r in ${rpcsvc}; do
160 h=`echo $r|sed -e's,\.x$,.h,'`
161 install -m 0644 ${S}/sunrpc/rpcsvc/$h ${CROSS_DIR}/${TARGET_SYS}/include/rpcsvc/
162 done
163
164 for i in libc.a libc_pic.a libc_nonshared.a; do
165 install -m 0644 ${B}/$i ${CROSS_DIR}/${TARGET_SYS}/lib/ || die "failed to install $i"
166 done
167 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${CROSS_DIR}/${TARGET_SYS}/lib/libpthread.so
168 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${CROSS_DIR}/${TARGET_SYS}/lib/libc.so
169} 146}
170 147
171require glibc-package.bbclass 148require glibc-package.bbclass
diff --git a/meta/packages/glibc/glibc_2.4.bb b/meta/packages/glibc/glibc_2.4.bb
index 73d1a4b13b..a997c9b1ae 100644
--- a/meta/packages/glibc/glibc_2.4.bb
+++ b/meta/packages/glibc/glibc_2.4.bb
@@ -172,29 +172,6 @@ do_stage() {
172 done 172 done
173 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so 173 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so
174 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so 174 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so
175
176 rm -f ${CROSS_DIR}/${TARGET_SYS}/lib/libc.so.6
177 oe_runmake 'install_root=${CROSS_DIR}/${TARGET_SYS}' \
178 'includedir=/include' 'libdir=/lib' 'slibdir=/lib' \
179 '${CROSS_DIR}/${TARGET_SYS}/lib/libc.so.6' \
180 install-headers install-lib
181
182 install -d ${CROSS_DIR}/${TARGET_SYS}/include/gnu \
183 ${CROSS_DIR}/${TARGET_SYS}/include/bits \
184 ${CROSS_DIR}/${TARGET_SYS}/include/rpcsvc
185 install -m 0644 ${S}/include/gnu/stubs.h ${CROSS_DIR}/${TARGET_SYS}/include/gnu/
186 install -m 0644 ${B}/bits/stdio_lim.h ${CROSS_DIR}/${TARGET_SYS}/include/bits/
187 install -m 0644 misc/syscall-list.h ${CROSS_DIR}/${TARGET_SYS}/include/bits/syscall.h
188 for r in ${rpcsvc}; do
189 h=`echo $r|sed -e's,\.x$,.h,'`
190 install -m 0644 ${S}/sunrpc/rpcsvc/$h ${CROSS_DIR}/${TARGET_SYS}/include/rpcsvc/
191 done
192
193 for i in libc.a libc_pic.a libc_nonshared.a; do
194 install -m 0644 ${B}/$i ${CROSS_DIR}/${TARGET_SYS}/lib/ || die "failed to install $i"
195 done
196 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${CROSS_DIR}/${TARGET_SYS}/lib/libpthread.so
197 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${CROSS_DIR}/${TARGET_SYS}/lib/libc.so
198} 175}
199 176
200require glibc-package.bbclass 177require glibc-package.bbclass
diff --git a/meta/packages/glibc/glibc_2.5.bb b/meta/packages/glibc/glibc_2.5.bb
index 74a7d86640..7a1f284980 100644
--- a/meta/packages/glibc/glibc_2.5.bb
+++ b/meta/packages/glibc/glibc_2.5.bb
@@ -175,29 +175,6 @@ do_stage() {
175 done 175 done
176 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so 176 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so
177 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so 177 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so
178
179 rm -f ${CROSS_DIR}/${TARGET_SYS}/lib/libc.so.6
180 oe_runmake 'install_root=${CROSS_DIR}/${TARGET_SYS}' \
181 'includedir=/include' 'libdir=/lib' 'slibdir=/lib' \
182 '${CROSS_DIR}/${TARGET_SYS}/lib/libc.so.6' \
183 install-headers install-lib
184
185 install -d ${CROSS_DIR}/${TARGET_SYS}/include/gnu \
186 ${CROSS_DIR}/${TARGET_SYS}/include/bits \
187 ${CROSS_DIR}/${TARGET_SYS}/include/rpcsvc
188 install -m 0644 ${S}/include/gnu/stubs.h ${CROSS_DIR}/${TARGET_SYS}/include/gnu/
189 install -m 0644 ${B}/bits/stdio_lim.h ${CROSS_DIR}/${TARGET_SYS}/include/bits/
190 install -m 0644 misc/syscall-list.h ${CROSS_DIR}/${TARGET_SYS}/include/bits/syscall.h
191 for r in ${rpcsvc}; do
192 h=`echo $r|sed -e's,\.x$,.h,'`
193 install -m 0644 ${S}/sunrpc/rpcsvc/$h ${CROSS_DIR}/${TARGET_SYS}/include/rpcsvc/
194 done
195
196 for i in libc.a libc_pic.a libc_nonshared.a; do
197 install -m 0644 ${B}/$i ${CROSS_DIR}/${TARGET_SYS}/lib/ || die "failed to install $i"
198 done
199 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${CROSS_DIR}/${TARGET_SYS}/lib/libpthread.so
200 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${CROSS_DIR}/${TARGET_SYS}/lib/libc.so
201} 178}
202 179
203require glibc-package.bbclass 180require glibc-package.bbclass
diff --git a/meta/packages/glibc/glibc_csl-2005q3-2.bb b/meta/packages/glibc/glibc_csl-2005q3-2.bb
index 92866a4adc..5c9fd333c2 100644
--- a/meta/packages/glibc/glibc_csl-2005q3-2.bb
+++ b/meta/packages/glibc/glibc_csl-2005q3-2.bb
@@ -121,29 +121,6 @@ do_stage() {
121 done 121 done
122 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so 122 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so
123 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so 123 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so
124
125 rm -f ${CROSS_DIR}/${TARGET_SYS}/lib/libc.so.6
126 oe_runmake 'install_root=${CROSS_DIR}/${TARGET_SYS}' \
127 'includedir=/include' 'libdir=/lib' 'slibdir=/lib' \
128 '${CROSS_DIR}/${TARGET_SYS}/lib/libc.so.6' \
129 install-headers install-lib
130
131 install -d ${CROSS_DIR}/${TARGET_SYS}/include/gnu \
132 ${CROSS_DIR}/${TARGET_SYS}/include/bits \
133 ${CROSS_DIR}/${TARGET_SYS}/include/rpcsvc
134 install -m 0644 ${S}/include/gnu/stubs.h ${CROSS_DIR}/${TARGET_SYS}/include/gnu/
135 install -m 0644 ${B}/bits/stdio_lim.h ${CROSS_DIR}/${TARGET_SYS}/include/bits/
136 install -m 0644 misc/syscall-list.h ${CROSS_DIR}/${TARGET_SYS}/include/bits/syscall.h
137 for r in ${rpcsvc}; do
138 h=`echo $r|sed -e's,\.x$,.h,'`
139 install -m 0644 ${S}/sunrpc/rpcsvc/$h ${CROSS_DIR}/${TARGET_SYS}/include/rpcsvc/
140 done
141
142 for i in libc.a libc_pic.a libc_nonshared.a; do
143 install -m 0644 ${B}/$i ${CROSS_DIR}/${TARGET_SYS}/lib/ || die "failed to install $i"
144 done
145 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${CROSS_DIR}/${TARGET_SYS}/lib/libpthread.so
146 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${CROSS_DIR}/${TARGET_SYS}/lib/libc.so
147} 124}
148 125
149require glibc-package.bbclass 126require glibc-package.bbclass