diff options
author | Richard Purdie <richard@openedhand.com> | 2007-10-29 20:35:03 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-10-29 20:35:03 +0000 |
commit | 6a97ee543a3e1ec9398b8a009f4a6324cdfab2a2 (patch) | |
tree | fb1eda00c9c6a3974211e96a8b4bb158ec7f4fae /meta/packages/glibc/glibc_csl-2005q3-2.bb | |
parent | 3b945ff45c9caf683962ad34dcde602cba0a1186 (diff) | |
download | poky-6a97ee543a3e1ec9398b8a009f4a6324cdfab2a2.tar.gz |
glibc: Convert from hardcoded staging layout
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3027 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/glibc/glibc_csl-2005q3-2.bb')
-rw-r--r-- | meta/packages/glibc/glibc_csl-2005q3-2.bb | 18 |
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" | |||
8 | PR = "r11" | 8 | PR = "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 |
11 | BUILD_CPPFLAGS = "-I${STAGING_DIR}/${BUILD_SYS}/include" | 11 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" |
12 | TARGET_CPPFLAGS = "-I${STAGING_DIR}/${TARGET_SYS}/include" | 12 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" |
13 | 13 | ||
14 | FILESDIR = "${FILE_DIRNAME}/files" | 14 | FILESDIR = "${FILE_DIRNAME}/files" |
15 | 15 | ||
@@ -100,10 +100,10 @@ do_compile () { | |||
100 | } | 100 | } |
101 | 101 | ||
102 | do_stage() { | 102 | do_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 | ||
126 | require glibc-package.bbclass | 126 | require glibc-package.bbclass |