blob: 3dd382be1fe15bfb931bfebb2cd67ba5c12bd041 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "x86 (SSE) assembler supporting NASM and GAS-syntaxes"
Brad Bishop2d39a062019-10-28 08:33:36 -04002LICENSE = "MIT"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08003HOMEPAGE = "http://www.tortall.net/projects/yasm/"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=a12d8903508fb6bfd49d8d82c6170dd9"
6
Patrick Williams92b42cb2022-09-03 06:53:57 -05007DEPENDS += "flex-native bison-native"
8PACKAGECONFIG[docs] = ",,xmlto-native,"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08009
10PV = "1.3.0+git${SRCPV}"
11# v1.3.0
12SRCREV = "ba463d3c26c0ece2e797b8d6381b161633b5971a"
Andrew Geissler595f6302022-01-24 19:11:47 +000013SRC_URI = "git://github.com/yasm/yasm.git;branch=master;protocol=https \
Andrew Geisslerac970dd2021-02-12 15:32:45 -060014 file://0001-Do-not-use-AC_HEADER_STDC.patch \
15"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016
17S = "${WORKDIR}/git"
18
Andrew Geissler82c905d2020-04-13 13:39:40 -050019inherit autotools gettext python3native
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020
21CACHED_CONFIGUREVARS = "CCLD_FOR_BUILD='${CC_FOR_BUILD}'"
22
23BBCLASSEXTEND = "native"
24
25PARALLEL_MAKE = ""
Patrick Williams92b42cb2022-09-03 06:53:57 -050026
27do_configure:prepend() {
28 # Don't include $CC (which includes path to sysroot) in generated header.
29 sed -i -e "s/^echo \"\/\* generated \$ac_cv_stdint_message \*\/\" >>\$ac_stdint$"// ${S}/m4/ax_create_stdint_h.m4
30}