Files
meta-openembedded/meta-oe/recipes-test/fwts/fwts_git.bb
T
Martin Jansa 8996356654 fwts: add dependency on bison-native
* fixes:
fwts/18.05.00+gitAUTOINC+b0ec7aa2ef-r0/build/src/acpica/source/compiler'
m4 -P -I../../../../../git/src/acpica/source/compiler ../../../../../git/src/acpica/source/compiler/aslparser.y > aslcompiler.y
flex -i -PAslCompiler -oaslcompilerlex.c ../../../../../git/src/acpica/source/compiler/aslcompiler.l
yacc -v -d -y -bdtparser -pDtParser ../../../../../git/src/acpica/source/compiler/dtparser.y
flex -i -PDtParser -odtparserlex.c ../../../../../git/src/acpica/source/compiler/dtparser.l
yacc -v -d -y -bprparser -pPrParser ../../../../../git/src/acpica/source/compiler/prparser.y
flex -i -PPrParser -oprparserlex.c ../../../../../git/src/acpica/source/compiler/prparser.l
/bin/bash: yacc: command not found
Makefile:3684: recipe for target 'dtparser.c' failed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00

40 lines
1.7 KiB
BlitzBasic

SUMMARY = "Firmware testsuite"
DESCRIPTION = "The tool fwts comprises of over fifty tests that are designed to exercise and test different aspects of a machine's firmware. Many of these tests need super user access to read BIOS data and ACPI tables, so the tool requires running with super user privileges (e.g. with sudo)."
HOMEPAGE = "https://wiki.ubuntu.com/Kernel/Reference/fwts"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=16;md5=31da590f3e9f3bd34dcdb9e4db568519"
PV = "18.05.00+git${SRCPV}"
SRCREV = "b0ec7aa2ef743d113fd8c5e57c0ca3d5edd86f0e"
SRC_URI = "git://kernel.ubuntu.com/hwe/fwts.git \
file://0001-ignore-constant-logical-operand-warning-with-clang.patch \
file://0001-Include-poll.h-instead-of-deprecated-sys-poll.h.patch \
file://0002-Define-__SWORD_TYPE-if-not-defined-by-libc.patch \
file://0003-Undefine-PAGE_SIZE.patch \
file://0001-Add-correct-printf-qualifier-for-off_t.patch \
file://0003-use-intptr_t-to-fix-pointer-to-int-cast-issues.patch \
file://0001-Remove-Werror-from-build.patch \
"
S = "${WORKDIR}/git"
COMPATIBLE_HOST = "(i.86|x86_64|aarch64|powerpc64).*-linux"
DEPENDS = "libpcre json-c glib-2.0 dtc bison-native"
DEPENDS_append_libc-musl = " libexecinfo"
inherit autotools bash-completion pkgconfig
CFLAGS += "-I${STAGING_INCDIR}/json-c -Wno-error=unknown-pragmas"
LDFLAGS_append_libc-musl = " -lexecinfo"
FILES_${PN} += "${libdir}/fwts/lib*${SOLIBS}"
FILES_${PN}-dev += "${libdir}/fwts/lib*${SOLIBSDEV} ${libdir}/fwts/lib*.la"
FILES_${PN}-staticdev += "${libdir}/fwts/lib*a"
FILES_${PN}-dbg += "${libdir}/fwts/.debug"
TOOLCHAIN = "gcc"