summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc/glibc_csl-2005q3-2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/glibc/glibc_csl-2005q3-2.bb')
-rw-r--r--meta/packages/glibc/glibc_csl-2005q3-2.bb18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/packages/glibc/glibc_csl-2005q3-2.bb b/meta/packages/glibc/glibc_csl-2005q3-2.bb
index 5c9fd333c2..8af447091b 100644
--- a/meta/packages/glibc/glibc_csl-2005q3-2.bb
+++ b/meta/packages/glibc/glibc_csl-2005q3-2.bb
@@ -8,8 +8,8 @@ PV = "2.3.6+csl-arm-2005q3-2"
8PR = "r11" 8PR = "r11"
9 9
10# the -isystem in bitbake.conf screws up glibc do_stage 10# the -isystem in bitbake.conf screws up glibc do_stage
11BUILD_CPPFLAGS = "-I${STAGING_DIR}/${BUILD_SYS}/include" 11BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
12TARGET_CPPFLAGS = "-I${STAGING_DIR}/${TARGET_SYS}/include" 12TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}"
13 13
14FILESDIR = "${FILE_DIRNAME}/files" 14FILESDIR = "${FILE_DIRNAME}/files"
15 15
@@ -100,10 +100,10 @@ do_compile () {
100} 100}
101 101
102do_stage() { 102do_stage() {
103 rm -f ${STAGING_LIBDIR}/libc.so.6 103 rm -f ${STAGING_DIR_HOST}${layout_base_libdir}/libc.so.6
104 oe_runmake 'install_root=${STAGING_DIR}/${HOST_SYS}' \ 104 oe_runmake 'install_root=${STAGING_DIR_HOST}' \
105 'includedir=/include' 'libdir=/lib' 'slibdir=/lib' \ 105 'includedir=${layout_includedir}' 'libdir=${layout_libdir}' 'slibdir=${layout_base_libdir}' \
106 '${STAGING_LIBDIR}/libc.so.6' \ 106 '${STAGING_DIR_HOST}${layout_base_libdir}/libc.so.6' \
107 install-headers install-lib 107 install-headers install-lib
108 108
109 install -d ${STAGING_INCDIR}/gnu \ 109 install -d ${STAGING_INCDIR}/gnu \
@@ -117,10 +117,10 @@ do_stage() {
117 install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_INCDIR}/rpcsvc/ 117 install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_INCDIR}/rpcsvc/
118 done 118 done
119 for i in libc.a libc_pic.a libc_nonshared.a; do 119 for i in libc.a libc_pic.a libc_nonshared.a; do
120 install -m 0644 ${B}/$i ${STAGING_LIBDIR}/ || die "failed to install $i" 120 install -m 0644 ${B}/$i ${STAGING_DIR_HOST}/${layout_base_libdir} || die "failed to install $i"
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_DIR_HOST}/${layout_base_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_DIR_HOST}/${layout_base_libdir}/libc.so
124} 124}
125 125
126require glibc-package.bbclass 126require glibc-package.bbclass