summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/bzip2
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-03 15:50:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-05 15:23:42 +0000
commit42f983152659c9ba60b0642e1acd65eb42d4b090 (patch)
tree9174fa846770cb9ed171a75c0dc96fe6f752b823 /meta/recipes-extended/bzip2
parent82c773e88aaefd9321481ad297554d5b4a3ae0b2 (diff)
downloadopenembedded-core-42f983152659c9ba60b0642e1acd65eb42d4b090.tar.gz
openembedded-core-42f983152659c9ba60b0642e1acd65eb42d4b090.tar.bz2
openembedded-core-42f983152659c9ba60b0642e1acd65eb42d4b090.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bzip2')
-rw-r--r--meta/recipes-extended/bzip2/bzip2_1.0.6.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
index 176421d636..e9d745d763 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
}