summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-06-13 17:22:17 +0000
committerKoen Kooi <koen@openembedded.org>2008-06-13 17:22:17 +0000
commit9a2c8e90f77325a2b21f41d7ac83a0f040167349 (patch)
tree070f7eb27d5a22c89530f02c5a83ed6f3b58fca6
parenteccd4cae07edcd7b60a34ce6d7ded38e4e8b8fe0 (diff)
gcc-cross-kernel.inc: depend on gcc-cross to get all the paths in staging/cross in the right place for the build
-rw-r--r--packages/gcc/gcc-cross-kernel.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gcc/gcc-cross-kernel.inc b/packages/gcc/gcc-cross-kernel.inc
index 59938f5500..7bca7d2bf5 100644
--- a/packages/gcc/gcc-cross-kernel.inc
+++ b/packages/gcc/gcc-cross-kernel.inc
@@ -1,6 +1,8 @@
# Cut-down gcc for kernel builds
# Only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
+DEPENDS += "gcc-cross"
+
PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
do_install () {
@@ -9,8 +11,6 @@ do_install () {
do_stage () {
cd gcc
- install -d ${CROSS_DIR}/bin/
- install -d ${CROSS_DIR}/lib/
oe_runmake install-common install-headers install-libgcc
install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV}
}