Skip to contentSkip to conversation

yasm: Add recipe ( previously in oe-core )

PATCH In review Khem Raj 2 participants 2 messages Sep 30, 2018 – Oct 2, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 yasm: Add recipe ( previously in oe-core )

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

---
 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
meta-oe/recipes-devtools/yasm/yasm_git.bb new file +17 -0
new file mode 100644
index 0000000000..b685b42412
@@ -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"
Signature · 1 line
2.19.0
#1 lore raw
Quoted 8 lines · Khem Raj

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.

Quoted 38 lines
---
 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
meta-oe/recipes-devtools/yasm/yasm_git.bb new file +17 -0
new file mode 100644
index 0000000000..b685b42412
@@ -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"
Signature · 7 lines
2.19.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]