glibc-initial: Install headers into staging, not cross

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2764 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2007-09-19 13:02:25 +00:00
parent 405a6a68a6
commit e32f910a5b
3 changed files with 12 additions and 12 deletions

View File

@@ -32,14 +32,14 @@ do_compile () {
}
do_stage () {
oe_runmake cross-compiling=yes install_root=${CROSS_DIR}/${TARGET_SYS} prefix="" install-headers
oe_runmake cross-compiling=yes install_root=${STAGING_DIR}/${HOST_SYS} includedir=/include prefix="" install-headers
# Two headers -- stubs.h and features.h -- aren't installed by install-headers,
# so do them by hand. We can tolerate an empty stubs.h for the moment.
# See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html
mkdir -p ${CROSS_DIR}/${TARGET_SYS}/include/gnu
touch ${CROSS_DIR}/${TARGET_SYS}/include/gnu/stubs.h
cp ${S}/include/features.h ${CROSS_DIR}/${TARGET_SYS}/include/features.h
mkdir -p ${STAGING_DIR}/${HOST_SYS}/include/gnu
touch ${STAGING_DIR}/${HOST_SYS}/include/gnu/stubs.h
cp ${S}/include/features.h ${STAGING_DIR}/${HOST_SYS}/include/features.h
}
do_install () {

View File

@@ -31,14 +31,14 @@ do_compile () {
}
do_stage () {
oe_runmake cross-compiling=yes install_root=${CROSS_DIR}/${TARGET_SYS} prefix="" install-headers
oe_runmake cross-compiling=yes install_root=${STAGING_DIR}/${HOST_SYS} includedir=/include prefix="" install-headers
# Two headers -- stubs.h and features.h -- aren't installed by install-headers,
# so do them by hand. We can tolerate an empty stubs.h for the moment.
# See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html
mkdir -p ${CROSS_DIR}/${TARGET_SYS}/include/gnu
touch ${CROSS_DIR}/${TARGET_SYS}/include/gnu/stubs.h
cp ${S}/include/features.h ${CROSS_DIR}/${TARGET_SYS}/include/features.h
mkdir -p ${STAGING_DIR}/${HOST_SYS}/include/gnu
touch ${STAGING_DIR}/${HOST_SYS}/include/gnu/stubs.h
cp ${S}/include/features.h ${STAGING_DIR}/${HOST_SYS}/include/features.h
}
do_install () {

View File

@@ -32,14 +32,14 @@ do_compile () {
}
do_stage () {
oe_runmake cross-compiling=yes install_root=${CROSS_DIR}/${TARGET_SYS} prefix="" install-headers
oe_runmake cross-compiling=yes install_root=${STAGING_DIR}/${HOST_SYS} includedir=/include prefix="" install-headers
# Two headers -- stubs.h and features.h -- aren't installed by install-headers,
# so do them by hand. We can tolerate an empty stubs.h for the moment.
# See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html
mkdir -p ${CROSS_DIR}/${TARGET_SYS}/include/gnu
touch ${CROSS_DIR}/${TARGET_SYS}/include/gnu/stubs.h
cp ${S}/include/features.h ${CROSS_DIR}/${TARGET_SYS}/include/features.h
mkdir -p ${STAGING_DIR}/${HOST_SYS}/include/gnu
touch ${STAGING_DIR}/${HOST_SYS}/include/gnu/stubs.h
cp ${S}/include/features.h ${STAGING_DIR}/${HOST_SYS}/include/features.h
}
do_install () {