diff mbox series

[oe,meta-oe] yasm: Add recipe ( previously in oe-core )

Message ID 20180930171718.41078-1-raj.khem@gmail.com
State Accepted
Commit 7e196d2c3a99ad2ad88c789e0e5eb3e4b91dadc4
Headers show
Series [oe,meta-oe] yasm: Add recipe ( previously in oe-core ) | expand

Commit Message

Khem Raj Sept. 30, 2018, 5:17 p.m. UTC
Remove in OE-Core via

http://git.openembedded.org/openembedded-core/commit/?id=b7f3f7ecfdf26129c5df2d3ee14e73c4633ea5a3

while apps in OE-core have move to use nasm or other things yasm is
still needed by some apps in rest of OE universe e.g. firefox

switch to github URI since master has bunch of fixes over 1.3.0 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-devtools/yasm/yasm_git.bb | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/yasm/yasm_git.bb

-- 
2.19.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Martin Jansa Oct. 2, 2018, 3:31 p.m. UTC | #1
On Sun, Sep 30, 2018 at 10:17:18AM -0700, Khem Raj wrote:
> Remove in OE-Core via

> 

> http://git.openembedded.org/openembedded-core/commit/?id=b7f3f7ecfdf26129c5df2d3ee14e73c4633ea5a3

> 

> while apps in OE-core have move to use nasm or other things yasm is

> still needed by some apps in rest of OE universe e.g. firefox

> 

> switch to github URI since master has bunch of fixes over 1.3.0 release


One from this bunch is probably causing build failure for aarch64:

In file included from ../git/modules/arch/x86/x86id.c:1705:
x86insn_gas.gperf: In function 'insnprefix_gas_find':
x86insn_gas.gperf:1571:20: error: 'extractps_ins' undeclared (first use in this function); did you mean 'extractps_insn'?
 vextractps, extractps_insn, 2, SUF_Z, 0xC0, 0, 0, ONLY_AVX, CPU_AVX, 0, 0
                    ^~~~~~~~~~~~~
                    extractps_insn
x86insn_gas.gperf:1571:20: note: each undeclared identifier is reported only once for each function it appears in

At least I don't remember seeing this with oe-core recipe.

> 

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  meta-oe/recipes-devtools/yasm/yasm_git.bb | 17 +++++++++++++++++

>  1 file changed, 17 insertions(+)

>  create mode 100644 meta-oe/recipes-devtools/yasm/yasm_git.bb

> 

> diff --git a/meta-oe/recipes-devtools/yasm/yasm_git.bb b/meta-oe/recipes-devtools/yasm/yasm_git.bb

> new file mode 100644

> index 0000000000..b685b42412

> --- /dev/null

> +++ b/meta-oe/recipes-devtools/yasm/yasm_git.bb

> @@ -0,0 +1,17 @@

> +SUMMARY = "x86 (SSE) assembler supporting NASM and GAS-syntaxes"

> +LICENSE = "BSD"

> +HOMEPAGE = "http://www.tortall.net/projects/yasm/"

> +

> +LIC_FILES_CHKSUM = "file://COPYING;md5=a12d8903508fb6bfd49d8d82c6170dd9"

> +

> +PV = "1.3.0+git${SRCPV}"

> +SRCREV = "35af9720e36df19382a57be26643b0d6bb48a363"

> +SRC_URI = "git://github.com/yasm/yasm.git"

> +

> +S = "${WORKDIR}/git"

> +

> +inherit autotools gettext

> +

> +export CCLD_FOR_BUILD = "${CC_FOR_BUILD}"

> +

> +BBCLASSEXTEND = "native"

> -- 

> 2.19.0

> 

> -- 

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/yasm/yasm_git.bb b/meta-oe/recipes-devtools/yasm/yasm_git.bb
new file mode 100644
index 0000000000..b685b42412
--- /dev/null
+++ b/meta-oe/recipes-devtools/yasm/yasm_git.bb
@@ -0,0 +1,17 @@ 
+SUMMARY = "x86 (SSE) assembler supporting NASM and GAS-syntaxes"
+LICENSE = "BSD"
+HOMEPAGE = "http://www.tortall.net/projects/yasm/"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=a12d8903508fb6bfd49d8d82c6170dd9"
+
+PV = "1.3.0+git${SRCPV}"
+SRCREV = "35af9720e36df19382a57be26643b0d6bb48a363"
+SRC_URI = "git://github.com/yasm/yasm.git"
+
+S = "${WORKDIR}/git"
+
+inherit autotools gettext
+
+export CCLD_FOR_BUILD = "${CC_FOR_BUILD}"
+
+BBCLASSEXTEND = "native"