summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-cross-kernel.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc/gcc-cross-kernel.inc')
-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}
}