diff options
author | Li xin <lixin.fnst@cn.fujitsu.com> | 2016-04-26 10:56:05 +0300 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-05-02 14:03:04 -0700 |
commit | 246309829404d2763b771a472079a1b59c8b09f2 (patch) | |
tree | 822309121d6741fa6b04fca242910c9d734bcd84 /meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | |
parent | de2fe0d24a1a76a924f5f18bca34160dff5eeaf1 (diff) | |
download | meta-openembedded-246309829404d2763b771a472079a1b59c8b09f2.tar.gz |
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb')
-rw-r--r-- | meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb index cab6dd5a8..da0578914 100644 --- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb +++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | |||
@@ -53,17 +53,11 @@ do_configure() { | |||
53 | } | 53 | } |
54 | 54 | ||
55 | # patch.bbclass will try to apply the patches already present and fail, so clean them out | 55 | # patch.bbclass will try to apply the patches already present and fail, so clean them out |
56 | do_sourceclean() { | 56 | do_unpack() { |
57 | ( | 57 | tar -xvf ${DL_DIR}/mozjs17.0.0.tar.gz -C ${WORKDIR}/ |
58 | cd ${WORKDIR}/${BPN}${PV}/patches | 58 | rm -rf ${WORKDIR}/${BPN}${PV}/patches |
59 | for i in $(cat series | awk '{print $1}') ; do | ||
60 | rm -f $i | ||
61 | done | ||
62 | rm -f series | ||
63 | ) | ||
64 | } | 59 | } |
65 | 60 | ||
66 | addtask sourceclean before do_patch after do_unpack | ||
67 | 61 | ||
68 | PACKAGES =+ "lib${PN}" | 62 | PACKAGES =+ "lib${PN}" |
69 | FILES_lib${PN} += "${libdir}/lib*.so" | 63 | FILES_lib${PN} += "${libdir}/lib*.so" |