[oe] [meta-oe][PATCH] fwts: add the Firmware Test Suite

Khem Raj raj.khem at gmail.com
Wed Dec 24 17:54:28 UTC 2014


On Dec 19, 2014 3:17 AM, "Graeme Gregory" <gg at slimlogic.co.uk> wrote:
>
> The Firmware Test Suite is a set of tests for checking ACPI and EFI
> implementations for common bugs and issues.
>
> Signed-off-by: Fathi Boudra <fathi.boudra at linaro.org>
> Signed-off-by: Graeme Gregory <graeme.gregory at linaro.org>
> ---
>  meta-oe/recipes-test/fwts/fwts_git.bb | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 meta-oe/recipes-test/fwts/fwts_git.bb
>
> diff --git a/meta-oe/recipes-test/fwts/fwts_git.bb
b/meta-oe/recipes-test/fwts/fwts_git.bb
> new file mode 100644
> index 0000000..b943d6d
> --- /dev/null
> +++ b/meta-oe/recipes-test/fwts/fwts_git.bb
> @@ -0,0 +1,24 @@
> +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=deb8af5388e838d133eaa036f4d1496f"
> +
> +PV = "14.12.00"
> +
> +SRCREV = "efc18d16294f492b7f72bba64344b2eed50e6a69"
> +SRC_URI = "git://kernel.ubuntu.com/hwe/fwts.git"
> +
> +S = "${WORKDIR}/git"
> +
> +DEPENDS = "libpcre json-c glib-2.0"
> +
> +inherit autotools-brokensep
> +

did you check why it can't  build out of tree

> +CFLAGS += "-I${STAGING_INCDIR}/json-c"
> +

May be just use -I= instead

> +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"
> --
> 2.1.3
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list