]> code.ossystems Code Review - openembedded-core.git/commitdiff
nasm: Couple of recipe cleanups
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Nov 2018 15:28:49 +0000 (15:28 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Nov 2018 10:11:24 +0000 (10:11 +0000)
The do_install now matches that from autotools.bbclass.

Document that brokensep is still needed.

Use a better form of handling of aclocal.m4

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/nasm/nasm_2.14.bb

index 231d4e6b15fe1a9943b0b26bac776f7ed9900bb4..687a05a5cde7c758266602551b5ca4b2337e16f3 100644 (file)
@@ -8,17 +8,10 @@ SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.bz2"
 SRC_URI[md5sum] = "238a240d3f869a52f8ac38ee3f8faafa"
 SRC_URI[sha256sum] = "d43cfd27cad53d0c22a9bf9702e9dffcc7018a0df21d15b92c56d250d747c744"
 
+# brokensep since this uses autoconf but not automake
 inherit autotools-brokensep
 
-do_configure_prepend () {
-       if [ -f ${S}/aclocal.m4 ] && [ ! -f ${S}/acinclude.m4 ]; then
-               mv ${S}/aclocal.m4 ${S}/acinclude.m4
-       fi
-}
-
-do_install() {
-       oe_runmake 'DESTDIR=${D}' install
-}
+EXTRA_AUTORECONF += "--exclude=aclocal"
 
 BBCLASSEXTEND = "native"