diff options
author | Ross Burton <ross.burton@intel.com> | 2018-12-11 10:49:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-13 16:32:21 +0000 |
commit | adfd8582ea988f733e9b15d22bb0826d2d38137b (patch) | |
tree | acbd0302368d401051c345f9ab0fc1f91a473f17 /meta/recipes-extended | |
parent | df31c7267630041e1acb337dba8ba13f3556dc63 (diff) | |
download | poky-adfd8582ea988f733e9b15d22bb0826d2d38137b.tar.gz |
lzip: clean up recipe
Use cleandirs to ensure ${B} is always empty, and remove redundant assignment of
EXTRA_OEMAKE (presumably from when it had a non-empty default).
(From OE-Core rev: 326e183479f9cae12f2219a2bf9112b322832daa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/lzip/lzip_1.20.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/lzip/lzip_1.20.bb b/meta/recipes-extended/lzip/lzip_1.20.bb index d1fc2a1da8..ed648e8011 100644 --- a/meta/recipes-extended/lzip/lzip_1.20.bb +++ b/meta/recipes-extended/lzip/lzip_1.20.bb | |||
@@ -6,10 +6,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=76d6e300ffd8fb9d18bd9b136a9bba13 \ | |||
6 | file://decoder.cc;beginline=3;endline=16;md5=db09fe3f9573f94d0076f7f07959e6e1" | 6 | file://decoder.cc;beginline=3;endline=16;md5=db09fe3f9573f94d0076f7f07959e6e1" |
7 | 7 | ||
8 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/lzip/lzip-${PV}.tar.gz" | 8 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/lzip/lzip-${PV}.tar.gz" |
9 | |||
10 | SRC_URI[md5sum] = "21c1517da2ace9689fd953918660b3c3" | 9 | SRC_URI[md5sum] = "21c1517da2ace9689fd953918660b3c3" |
11 | SRC_URI[sha256sum] = "c93b81a5a7788ef5812423d311345ba5d3bd4f5ebf1f693911e3a13553c1290c" | 10 | SRC_URI[sha256sum] = "c93b81a5a7788ef5812423d311345ba5d3bd4f5ebf1f693911e3a13553c1290c" |
12 | 11 | ||
12 | B = "${WORKDIR}/build" | ||
13 | do_configure[cleandirs] = "${B}" | ||
14 | |||
13 | CONFIGUREOPTS = "\ | 15 | CONFIGUREOPTS = "\ |
14 | '--srcdir=${S}' \ | 16 | '--srcdir=${S}' \ |
15 | '--prefix=${prefix}' \ | 17 | '--prefix=${prefix}' \ |
@@ -23,9 +25,7 @@ CONFIGUREOPTS = "\ | |||
23 | 'CXXFLAGS=${CXXFLAGS}' \ | 25 | 'CXXFLAGS=${CXXFLAGS}' \ |
24 | 'LDFLAGS=${LDFLAGS}' \ | 26 | 'LDFLAGS=${LDFLAGS}' \ |
25 | " | 27 | " |
26 | EXTRA_OEMAKE = "" | ||
27 | 28 | ||
28 | B = "${S}/obj" | ||
29 | do_configure () { | 29 | do_configure () { |
30 | ${S}/configure ${CONFIGUREOPTS} | 30 | ${S}/configure ${CONFIGUREOPTS} |
31 | } | 31 | } |