[oe-commits] [openembedded-core] 03/15: nasm: Couple of recipe cleanups

git at git.openembedded.org git at git.openembedded.org
Mon Nov 19 22:46:56 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 2490e53794a0e276014e230d967e9b7f010d50af
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Mon Nov 19 15:28:49 2018 +0000

    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
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/nasm/nasm_2.14.bb | 11 ++---------
 1 file 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 231d4e6..687a05a 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"
 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"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list