mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
mozjs_17.0.0.bb: Fix do_srpm error
The function do_sourceclean() will lead to do_srpm failed, so use do_unpack instead. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -53,17 +53,11 @@ do_configure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# patch.bbclass will try to apply the patches already present and fail, so clean them out
|
# patch.bbclass will try to apply the patches already present and fail, so clean them out
|
||||||
do_sourceclean() {
|
do_unpack() {
|
||||||
(
|
tar -xvf ${DL_DIR}/mozjs17.0.0.tar.gz -C ${WORKDIR}/
|
||||||
cd ${WORKDIR}/${BPN}${PV}/patches
|
rm -rf ${WORKDIR}/${BPN}${PV}/patches
|
||||||
for i in $(cat series | awk '{print $1}') ; do
|
|
||||||
rm -f $i
|
|
||||||
done
|
|
||||||
rm -f series
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
addtask sourceclean before do_patch after do_unpack
|
|
||||||
|
|
||||||
PACKAGES =+ "lib${PN}"
|
PACKAGES =+ "lib${PN}"
|
||||||
FILES_lib${PN} += "${libdir}/lib*.so"
|
FILES_lib${PN} += "${libdir}/lib*.so"
|
||||||
|
|||||||
Reference in New Issue
Block a user