aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-08-15 23:21:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-21 12:13:21 +0100
commitb954c2d7cd978adc059d672425c197eaaf57e852 (patch)
tree46911f87d03d3e67c5d273dcc4ebfffde332ce25 /meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb
parentcf975073a11c93f4a9fb5bdd72c16dc0ca9c3c54 (diff)
downloadopenembedded-core-contrib-b954c2d7cd978adc059d672425c197eaaf57e852.tar.gz
openembedded-core-contrib-b954c2d7cd978adc059d672425c197eaaf57e852.tar.bz2
openembedded-core-contrib-b954c2d7cd978adc059d672425c197eaaf57e852.zip
uclibc: Use gcc-cross-initial as staging compiler
Do not build fake shared libraries during uclibc-initial phase Let uclibc depend on gcc-cross-initial instead of gcc-cross-intermediate thereby set stage to remove gcc-cross-intermediate Let uclibc depend on uclibc-initial so that boostrap sysroot gets populated properly Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb')
-rw-r--r--meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb10
1 files changed, 3 insertions, 7 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb b/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb
index 51afab2766..211d530d70 100644
--- a/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb
+++ b/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb
@@ -15,19 +15,15 @@ do_install() {
# Install initial headers into the cross dir
make PREFIX=${D} DEVEL_PREFIX=${prefix}/ RUNTIME_PREFIX=/ \
install_headers install_startfiles
- ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
- -o lib/libc.so
- ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
- -o lib/libm.so
- install -d ${D}${libdir}
- install -m 755 lib/lib[cm].so ${D}${libdir}
- # add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this.
+
+ # add links to linux-libc-headers: final uclibc build need this.
for t in linux asm asm-generic; do
if [ -d ${D}${includedir}/$t ]; then
rm -rf ${D}${includedir}/$t
fi
ln -sf ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
done
+
}
do_compile() {
: