summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc/glibc-initial.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-10-29 20:35:03 +0000
committerRichard Purdie <richard@openedhand.com>2007-10-29 20:35:03 +0000
commit6a97ee543a3e1ec9398b8a009f4a6324cdfab2a2 (patch)
treefb1eda00c9c6a3974211e96a8b4bb158ec7f4fae /meta/packages/glibc/glibc-initial.inc
parent3b945ff45c9caf683962ad34dcde602cba0a1186 (diff)
downloadpoky-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-initial.inc')
-rw-r--r--meta/packages/glibc/glibc-initial.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/packages/glibc/glibc-initial.inc b/meta/packages/glibc/glibc-initial.inc
index 9355320b3a..288cb082a5 100644
--- a/meta/packages/glibc/glibc-initial.inc
+++ b/meta/packages/glibc/glibc-initial.inc
@@ -30,14 +30,14 @@ do_compile () {
30} 30}
31 31
32do_stage () { 32do_stage () {
33 oe_runmake cross-compiling=yes install_root=${STAGING_DIR}/${HOST_SYS} includedir=/include prefix="" install-headers 33 oe_runmake cross-compiling=yes install_root=${STAGING_DIR_HOST} includedir='${layout_includedir}' prefix='${layout_prefix}' install-headers
34 34
35 # Two headers -- stubs.h and features.h -- aren't installed by install-headers, 35 # Two headers -- stubs.h and features.h -- aren't installed by install-headers,
36 # so do them by hand. We can tolerate an empty stubs.h for the moment. 36 # so do them by hand. We can tolerate an empty stubs.h for the moment.
37 # See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html 37 # See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html
38 mkdir -p ${STAGING_DIR}/${HOST_SYS}/include/gnu 38 mkdir -p ${STAGING_INCDIR}/gnu
39 touch ${STAGING_DIR}/${HOST_SYS}/include/gnu/stubs.h 39 touch ${STAGING_INCDIR}/gnu/stubs.h
40 cp ${S}/include/features.h ${STAGING_DIR}/${HOST_SYS}/include/features.h 40 cp ${S}/include/features.h ${STAGING_INCDIR}/features.h
41} 41}
42 42
43do_install () { 43do_install () {