summaryrefslogtreecommitdiffstats
path: root/recipes/gcc/gcc-cross-intermediate.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-12-17 21:07:52 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-05-05 14:45:06 +0100
commit851eb471cc5eb8c2fa0fe0077178dfb79eb38a00 (patch)
treeccaddca8f4d0ec96af4142a1fdd884c92b2a0fd1 /recipes/gcc/gcc-cross-intermediate.inc
parent3fb59642b2b9afb7b8cd9769b53e24d85dc2f348 (diff)
downloadopenembedded-851eb471cc5eb8c2fa0fe0077178dfb79eb38a00.tar.gz
gcc-cross: Convert to remove legacy staging functions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'recipes/gcc/gcc-cross-intermediate.inc')
-rw-r--r--recipes/gcc/gcc-cross-intermediate.inc15
1 files changed, 7 insertions, 8 deletions
diff --git a/recipes/gcc/gcc-cross-intermediate.inc b/recipes/gcc/gcc-cross-intermediate.inc
index 50792b697c..1ccf90233c 100644
--- a/recipes/gcc/gcc-cross-intermediate.inc
+++ b/recipes/gcc/gcc-cross-intermediate.inc
@@ -17,13 +17,12 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
${@get_gcc_fpu_setting(bb, d)} \
${@get_gcc_mips_plt_setting(bb, d)}"
-do_stage_append () {
- # get rid of dummy libc.so
- if [ -z "`file ${STAGING_DIR_TARGET}${target_libdir}/libc.so | grep "ASCII C program text"`" ]; then
- rm -rf ${STAGING_DIR_TARGET}${target_libdir}/libc.so
- fi
-}
-
do_install () {
- :
+ oe_runmake 'DESTDIR=${D}' install
+
+ # If this is important, we should remove the staging package here
+ # get rid of dummy libc.so
+ #if [ -z "`file ${STAGING_DIR_TARGET}${target_libdir}/libc.so | grep "ASCII C program text"`" ]; then
+ # rm -rf ${STAGING_DIR_TARGET}${target_libdir}/libc.so
+ #fi
}