aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-01 20:23:32 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-01 20:23:32 +0100
commit9bec42b34f25e19f2197bb03f94323cbadd521eb (patch)
treef5a127a4a649804c075cb85d4ba1c978526dc95e
parentcd86e84fb56028aa5ec349da5aee6b4d8bda52f6 (diff)
downloadopenembedded-9bec42b34f25e19f2197bb03f94323cbadd521eb.tar.gz
gcc-cross-kernel: Convert do_stage to do_install (from Poky)
-rw-r--r--recipes/gcc/gcc-cross-kernel.inc10
1 files changed, 3 insertions, 7 deletions
diff --git a/recipes/gcc/gcc-cross-kernel.inc b/recipes/gcc/gcc-cross-kernel.inc
index e6f1fb8225..370ba781dc 100644
--- a/recipes/gcc/gcc-cross-kernel.inc
+++ b/recipes/gcc/gcc-cross-kernel.inc
@@ -5,10 +5,6 @@ DEPENDS += "gcc-cross"
PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
-do_install () {
- :
-}
-
do_compile () {
# This compiler is only for the kernel. Don't bother running fixincludes.
mkdir -p gcc
@@ -16,8 +12,8 @@ do_compile () {
oe_runmake
}
-do_stage () {
+do_install () {
cd gcc
- oe_runmake installdirs install-common install-headers install-libgcc
- install -m 0755 xgcc ${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gcc-${PV}
+ oe_runmake 'DESTDIR=${D}' installdirs install-common install-headers install-libgcc
+ install -m 0755 xgcc ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gcc-${PV}
}