summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/perl/perl_5.20.0.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.20.0.bb b/meta/recipes-devtools/perl/perl_5.20.0.bb
index ec01765ea3..ec4d2140e7 100644
--- a/meta/recipes-devtools/perl/perl_5.20.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.20.0.bb
@@ -117,6 +117,16 @@ do_configure() {
117 # Make hostperl in build directory be the native perl 117 # Make hostperl in build directory be the native perl
118 ln -sf ${HOSTPERL} hostperl 118 ln -sf ${HOSTPERL} hostperl
119 119
120 if [ -n "${CONFIGURESTAMPFILE}" -a -e "${CONFIGURESTAMPFILE}" ]; then
121 if [ "`cat ${CONFIGURESTAMPFILE}`" != "${BB_TASKHASH}" -a -e Makefile ]; then
122 ${MAKE} clean
123 fi
124 find ${S} -name *.so -delete
125 fi
126 if [ -n "${CONFIGURESTAMPFILE}" ]; then
127 echo ${BB_TASKHASH} > ${CONFIGURESTAMPFILE}
128 fi
129
120 # Do our work in the cross subdir 130 # Do our work in the cross subdir
121 cd Cross 131 cd Cross
122 132