summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/apt/files/apt.conf2
-rw-r--r--meta/packages/binutils/binutils-cross.inc2
-rw-r--r--meta/packages/gcc/gcc3-build-cross.inc13
-rw-r--r--meta/packages/qemu/qemu-native_20070613.bb1
-rw-r--r--meta/packages/qemu/qemu-native_cvs.bb1
5 files changed, 6 insertions, 13 deletions
diff --git a/meta/packages/apt/files/apt.conf b/meta/packages/apt/files/apt.conf
index 9e90616465..2bd9ddbfaf 100644
--- a/meta/packages/apt/files/apt.conf
+++ b/meta/packages/apt/files/apt.conf
@@ -1,4 +1,4 @@
1Dir "${STAGING_DIR}/" 1Dir "${STAGING_DIR_NATIVE}/"
2{ 2{
3 State "var/lib/apt/" 3 State "var/lib/apt/"
4 { 4 {
diff --git a/meta/packages/binutils/binutils-cross.inc b/meta/packages/binutils/binutils-cross.inc
index c63ea687aa..a45a39feab 100644
--- a/meta/packages/binutils/binutils-cross.inc
+++ b/meta/packages/binutils/binutils-cross.inc
@@ -3,7 +3,7 @@ inherit cross
3DEPENDS += "flex-native bison-native" 3DEPENDS += "flex-native bison-native"
4PROVIDES = "virtual/${TARGET_PREFIX}binutils" 4PROVIDES = "virtual/${TARGET_PREFIX}binutils"
5PACKAGES = "" 5PACKAGES = ""
6EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ 6EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
7 --program-prefix=${TARGET_PREFIX}" 7 --program-prefix=${TARGET_PREFIX}"
8 8
9do_stage () { 9do_stage () {
diff --git a/meta/packages/gcc/gcc3-build-cross.inc b/meta/packages/gcc/gcc3-build-cross.inc
index ec285f522b..2b9766975c 100644
--- a/meta/packages/gcc/gcc3-build-cross.inc
+++ b/meta/packages/gcc/gcc3-build-cross.inc
@@ -1,7 +1,9 @@
1USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}' 1USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
2 2
3EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR}/${TARGET_SYS} \ 3EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \
4 --with-gxx-include-dir=${STAGING_DIR}/${TARGET_SYS}/include/c++" 4 --with-gxx-include-dir=${STAGING_DIR_TARGET}/${layout_includedir}/c++ \
5 --with-sysroot=${STAGING_DIR_TARGET} \
6 --with-build-sysroot=${STAGING_DIR_TARGET}"
5 7
6do_configure_prepend () { 8do_configure_prepend () {
7 rm -f ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/libgcc_eh.a 9 rm -f ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/libgcc_eh.a
@@ -25,13 +27,6 @@ do_stage_append () {
25 rm -f ${CROSS_DIR}/bin/*gcov 27 rm -f ${CROSS_DIR}/bin/*gcov
26 rm -f ${CROSS_DIR}/bin/*gccbug 28 rm -f ${CROSS_DIR}/bin/*gccbug
27 29
28 # Fix a few include links so cross builds are happier
29 if [ ! -e ${STAGING_INCDIR}/c++ ]; then
30 mkdir -p ${STAGING_INCDIR}
31 ln -sf ${CROSS_DIR}/${TARGET_SYS}/include/c++ \
32 ${STAGING_INCDIR}/
33 fi
34
35 # We use libiberty from binutils 30 # We use libiberty from binutils
36 rm -f ${CROSS_DIR}/lib/libiberty.a 31 rm -f ${CROSS_DIR}/lib/libiberty.a
37 32
diff --git a/meta/packages/qemu/qemu-native_20070613.bb b/meta/packages/qemu/qemu-native_20070613.bb
index a6a5bda58d..28373e273e 100644
--- a/meta/packages/qemu/qemu-native_20070613.bb
+++ b/meta/packages/qemu/qemu-native_20070613.bb
@@ -1,6 +1,5 @@
1require qemu_${PV}.bb 1require qemu_${PV}.bb
2inherit native 2inherit native
3DEPENDS = "zlib-native" 3DEPENDS = "zlib-native"
4prefix = "${STAGING_DIR}/${BUILD_SYS}"
5 4
6require qemu-gcc3-check.inc 5require qemu-gcc3-check.inc
diff --git a/meta/packages/qemu/qemu-native_cvs.bb b/meta/packages/qemu/qemu-native_cvs.bb
index fae6ca2f1b..c87d45b601 100644
--- a/meta/packages/qemu/qemu-native_cvs.bb
+++ b/meta/packages/qemu/qemu-native_cvs.bb
@@ -1,6 +1,5 @@
1require qemu_cvs.bb 1require qemu_cvs.bb
2inherit native 2inherit native
3DEPENDS = "zlib-native" 3DEPENDS = "zlib-native"
4prefix = "${STAGING_DIR}/${BUILD_SYS}"
5 4
6require qemu-gcc3-check.inc 5require qemu-gcc3-check.inc