diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-19 15:28:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-20 10:32:15 +0000 |
commit | 1805ee68dd12a40678261ddc03aeb409155de88f (patch) | |
tree | 3a23e6e55486cb8cc747e0e133b3e28392299885 /meta | |
parent | ceafdb6953f18d423437cdd462d6e6249a809373 (diff) | |
download | poky-1805ee68dd12a40678261ddc03aeb409155de88f.tar.gz |
nasm: Couple of recipe cleanups
The do_install now matches that from autotools.bbclass.
Document that brokensep is still needed.
Use a better form of handling of aclocal.m4
(From OE-Core rev: ef25d9bb18b3a26eefe7fc0c2d7003578c55f416)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/nasm/nasm_2.14.bb | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/meta/recipes-devtools/nasm/nasm_2.14.bb b/meta/recipes-devtools/nasm/nasm_2.14.bb index 231d4e6b15..687a05a5cd 100644 --- a/meta/recipes-devtools/nasm/nasm_2.14.bb +++ b/meta/recipes-devtools/nasm/nasm_2.14.bb | |||
@@ -8,17 +8,10 @@ SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.bz2" | |||
8 | SRC_URI[md5sum] = "238a240d3f869a52f8ac38ee3f8faafa" | 8 | SRC_URI[md5sum] = "238a240d3f869a52f8ac38ee3f8faafa" |
9 | SRC_URI[sha256sum] = "d43cfd27cad53d0c22a9bf9702e9dffcc7018a0df21d15b92c56d250d747c744" | 9 | SRC_URI[sha256sum] = "d43cfd27cad53d0c22a9bf9702e9dffcc7018a0df21d15b92c56d250d747c744" |
10 | 10 | ||
11 | # brokensep since this uses autoconf but not automake | ||
11 | inherit autotools-brokensep | 12 | inherit autotools-brokensep |
12 | 13 | ||
13 | do_configure_prepend () { | 14 | EXTRA_AUTORECONF += "--exclude=aclocal" |
14 | if [ -f ${S}/aclocal.m4 ] && [ ! -f ${S}/acinclude.m4 ]; then | ||
15 | mv ${S}/aclocal.m4 ${S}/acinclude.m4 | ||
16 | fi | ||
17 | } | ||
18 | |||
19 | do_install() { | ||
20 | oe_runmake 'DESTDIR=${D}' install | ||
21 | } | ||
22 | 15 | ||
23 | BBCLASSEXTEND = "native" | 16 | BBCLASSEXTEND = "native" |
24 | 17 | ||