mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
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>
This commit is contained in:
@@ -27,11 +27,13 @@ ALTERNATIVE_${PN} = "bunzip2 bzcat"
|
|||||||
|
|
||||||
#install binaries to bzip2-native under sysroot for replacement-native
|
#install binaries to bzip2-native under sysroot for replacement-native
|
||||||
EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}"
|
EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}"
|
||||||
do_configure_prepend () {
|
do_extraunpack () {
|
||||||
cp ${WORKDIR}/configure.ac ${S}/
|
cp ${WORKDIR}/configure.ac ${S}/
|
||||||
cp ${WORKDIR}/Makefile.am ${S}/
|
cp ${WORKDIR}/Makefile.am ${S}/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
addtask extraunpack after do_unpack before do_patch
|
||||||
|
|
||||||
do_install_ptest () {
|
do_install_ptest () {
|
||||||
sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile
|
sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user