diff options
Diffstat (limited to 'recipes/gcc/gcc-cross-intermediate.inc')
-rw-r--r-- | recipes/gcc/gcc-cross-intermediate.inc | 15 |
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 } |