diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-01 20:24:04 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-08-06 23:45:26 -0700 |
commit | be8e27bc57fca6dbd191dce3d22d118d4290558e (patch) | |
tree | 0c226dab99d244b916ce6817e210c3141755a841 /recipes/gcc | |
parent | 061df91441a878e36b6dbbe21c4ef24129e17891 (diff) |
gcc-native: Convert do_stage to do_install
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/gcc')
-rw-r--r-- | recipes/gcc/gcc-native.inc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/recipes/gcc/gcc-native.inc b/recipes/gcc/gcc-native.inc index 63b7375e96..82c6da0e9a 100644 --- a/recipes/gcc/gcc-native.inc +++ b/recipes/gcc/gcc-native.inc @@ -16,11 +16,7 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${prefix} \ --program-prefix=${TARGET_PREFIX}" do_install () { - : -} - -do_stage () { cd gcc - oe_runmake install-common install-headers install-libgcc - install -m 0755 xgcc ${STAGING_BINDIR}/gcc-${PV} + oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc + install -m 0755 xgcc ${D}${STAGING_BINDIR}/gcc-${PV} } |