From: Richard Purdie Date: Mon, 3 Mar 2014 15:50:45 +0000 (+0000) Subject: bzip: Add extra files as a specific task X-Git-Tag: yocto-4.0~29868 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42f983152659c9ba60b0642e1acd65eb42d4b090;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bzip: Add extra files as a specific task This means that do_configure prefunc code can see the files in question and ensures aclocal files get copied in. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb index 176421d636e..e9d745d7633 100644 --- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb +++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb @@ -27,11 +27,13 @@ ALTERNATIVE_${PN} = "bunzip2 bzcat" #install binaries to bzip2-native under sysroot for replacement-native EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}" -do_configure_prepend () { +do_extraunpack () { cp ${WORKDIR}/configure.ac ${S}/ cp ${WORKDIR}/Makefile.am ${S}/ } +addtask extraunpack after do_unpack before do_patch + do_install_ptest () { sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile }