Patchwork [1/6] yasm: add from meta-oe and tweak

login
register
mail settings
Submitter Paul Eggleton
Date Aug. 9, 2013, 8:59 a.m.
Message ID <dd5b55f4d3f2ef9218001d44fbb3d848dbc91c1a.1376038140.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/55399/
State Accepted
Commit 2619c81d6641ef5d4dee58c128a1af140429c248
Headers show

Comments

Paul Eggleton - Aug. 9, 2013, 8:59 a.m.
This is needed for x264. Enabling it for libav also improves performance
on x86 and x86-64. Two minor changes from the meta-oe recipe:

* Set SUMMARY instead of DESCRIPTION
* Drop setting of S - it was setting it to the same as the default

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-devtools/yasm/yasm_1.2.0.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta/recipes-devtools/yasm/yasm_1.2.0.bb
Ross Burton - Aug. 9, 2013, 4:32 p.m.
On 9 August 2013 09:59, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:
> +SUMMARY = "x86 (SSE) assembler supporting NASM and GAS-syntaxes"

Does this mean we can drop nasm to avoid having numerous assemblers in
oe-core?  You can't feed them after midnight you know.

Ross
Paul Eggleton - Aug. 9, 2013, 4:37 p.m.
On Friday 09 August 2013 17:32:58 Burton, Ross wrote:
> On 9 August 2013 09:59, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:
> > +SUMMARY = "x86 (SSE) assembler supporting NASM and GAS-syntaxes"
> 
> Does this mean we can drop nasm to avoid having numerous assemblers in
> oe-core?  You can't feed them after midnight you know.

I don't know what the comparison between the two is, but I suspect they are 
not interchangeable.

Cheers,
Paul

Patch

diff --git a/meta/recipes-devtools/yasm/yasm_1.2.0.bb b/meta/recipes-devtools/yasm/yasm_1.2.0.bb
new file mode 100644
index 0000000..cc7459b
--- /dev/null
+++ b/meta/recipes-devtools/yasm/yasm_1.2.0.bb
@@ -0,0 +1,13 @@ 
+SUMMARY = "x86 (SSE) assembler supporting NASM and GAS-syntaxes"
+LICENSE = "BSD"
+HOMEPAGE = "http://www.tortall.net/projects/yasm/"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=26c9f3d11f88911950f9ff62189d3d4f"
+
+SRC_URI = "http://www.tortall.net/projects/yasm/releases/yasm-${PV}.tar.gz"
+SRC_URI[md5sum] = "4cfc0686cf5350dd1305c4d905eb55a6"
+SRC_URI[sha256sum] = "768ffab457b90a20a6d895c39749adb547c1b7cb5c108e84b151a838a23ccf31"
+
+inherit autotools gettext
+
+BBCLASSEXTEND = "native"