summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
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:50:18 +0000
commitf03d46f02f1235732a58a674be37ae44f91e79f7 (patch)
tree696e4e57b8ba3f02878fe94b8b33c89e4804bf47 /meta/recipes-extended
parentf03955041d0e44d377ca1c4def630982f24f1e8b (diff)
downloadpoky-f03d46f02f1235732a58a674be37ae44f91e79f7.tar.gz
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. (From OE-Core rev: 42f983152659c9ba60b0642e1acd65eb42d4b090) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-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"
27 27
28#install binaries to bzip2-native under sysroot for replacement-native 28#install binaries to bzip2-native under sysroot for replacement-native
29EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}" 29EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}"
30do_configure_prepend () { 30do_extraunpack () {
31 cp ${WORKDIR}/configure.ac ${S}/ 31 cp ${WORKDIR}/configure.ac ${S}/
32 cp ${WORKDIR}/Makefile.am ${S}/ 32 cp ${WORKDIR}/Makefile.am ${S}/
33} 33}
34 34
35addtask extraunpack after do_unpack before do_patch
36
35do_install_ptest () { 37do_install_ptest () {
36 sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile 38 sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile
37} 39}