]> code.ossystems Code Review - openembedded-core.git/commitdiff
bzip: Add extra files as a specific task
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Mar 2014 15:50:45 +0000 (15:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Mar 2014 15:23:42 +0000 (15:23 +0000)
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 <richard.purdie@linuxfoundation.org>
meta/recipes-extended/bzip2/bzip2_1.0.6.bb

index 176421d636e8d50a33ff5a7649a70c0bcb101315..e9d745d76338984ef13a6f35873eed15ec093f86 100644 (file)
@@ -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
 }