diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-17 11:30:02 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-08-17 12:26:40 -0700 |
commit | 5d949d9322954f7b48b4252a091de4e0c6b85115 (patch) | |
tree | eb892ac36fc0e5aee203520de0b090b15134fbb0 | |
parent | e7bf8b6cb2eac640e1f71ef08eb9398e7df661d4 (diff) | |
download | meta-openembedded-5d949d9322954f7b48b4252a091de4e0c6b85115.tar.gz |
fwts: Upgrade to 20.07.00
Use B = S since new version uses relative paths in makefiles
this version compiles fine with clang too
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-test/fwts/fwts/0001-Remove-Werror-from-build.patch | 16 | ||||
-rw-r--r-- | meta-oe/recipes-test/fwts/fwts_20.07.00.bb (renamed from meta-oe/recipes-test/fwts/fwts_19.06.00.bb) | 10 |
2 files changed, 8 insertions, 18 deletions
diff --git a/meta-oe/recipes-test/fwts/fwts/0001-Remove-Werror-from-build.patch b/meta-oe/recipes-test/fwts/fwts/0001-Remove-Werror-from-build.patch index 6795ba8495..93a42213bb 100644 --- a/meta-oe/recipes-test/fwts/fwts/0001-Remove-Werror-from-build.patch +++ b/meta-oe/recipes-test/fwts/fwts/0001-Remove-Werror-from-build.patch | |||
@@ -11,8 +11,6 @@ Upstream-Status: Pending | |||
11 | src/utilities/Makefile.am | 2 +- | 11 | src/utilities/Makefile.am | 2 +- |
12 | 3 files changed, 3 insertions(+), 3 deletions(-) | 12 | 3 files changed, 3 insertions(+), 3 deletions(-) |
13 | 13 | ||
14 | diff --git a/src/Makefile.am b/src/Makefile.am | ||
15 | index 62c9ba8..435ec23 100644 | ||
16 | --- a/src/Makefile.am | 14 | --- a/src/Makefile.am |
17 | +++ b/src/Makefile.am | 15 | +++ b/src/Makefile.am |
18 | @@ -14,7 +14,7 @@ AM_CPPFLAGS = \ | 16 | @@ -14,7 +14,7 @@ AM_CPPFLAGS = \ |
@@ -20,15 +18,13 @@ index 62c9ba8..435ec23 100644 | |||
20 | `pkg-config --silence-errors --cflags json-c` \ | 18 | `pkg-config --silence-errors --cflags json-c` \ |
21 | -pthread `pkg-config --cflags glib-2.0 gio-2.0` \ | 19 | -pthread `pkg-config --cflags glib-2.0 gio-2.0` \ |
22 | - -Wall -Werror -Wextra \ | 20 | - -Wall -Werror -Wextra \ |
23 | + -Wall -Wextra \ | 21 | + -Wall -Wextra \ |
24 | -Wno-address-of-packed-member | 22 | -Wno-address-of-packed-member \ |
25 | 23 | -Wfloat-equal -Wmissing-declarations \ | |
26 | bin_PROGRAMS = fwts | 24 | -Wno-long-long -Wredundant-decls -Wshadow \ |
27 | diff --git a/src/lib/src/Makefile.am b/src/lib/src/Makefile.am | ||
28 | index 6bcf9f8..de89bf1 100644 | ||
29 | --- a/src/lib/src/Makefile.am | 25 | --- a/src/lib/src/Makefile.am |
30 | +++ b/src/lib/src/Makefile.am | 26 | +++ b/src/lib/src/Makefile.am |
31 | @@ -24,7 +24,7 @@ AM_CPPFLAGS = \ | 27 | @@ -25,7 +25,7 @@ AM_CPPFLAGS = \ |
32 | `pkg-config --silence-errors --cflags json-c` \ | 28 | `pkg-config --silence-errors --cflags json-c` \ |
33 | `pkg-config --cflags glib-2.0 gio-2.0` \ | 29 | `pkg-config --cflags glib-2.0 gio-2.0` \ |
34 | -DDATAROOTDIR=\"$(datarootdir)\" \ | 30 | -DDATAROOTDIR=\"$(datarootdir)\" \ |
@@ -37,8 +33,6 @@ index 6bcf9f8..de89bf1 100644 | |||
37 | -Wno-address-of-packed-member | 33 | -Wno-address-of-packed-member |
38 | 34 | ||
39 | pkglib_LTLIBRARIES = libfwts.la | 35 | pkglib_LTLIBRARIES = libfwts.la |
40 | diff --git a/src/utilities/Makefile.am b/src/utilities/Makefile.am | ||
41 | index 21f969e..82009a0 100644 | ||
42 | --- a/src/utilities/Makefile.am | 36 | --- a/src/utilities/Makefile.am |
43 | +++ b/src/utilities/Makefile.am | 37 | +++ b/src/utilities/Makefile.am |
44 | @@ -16,7 +16,7 @@ | 38 | @@ -16,7 +16,7 @@ |
diff --git a/meta-oe/recipes-test/fwts/fwts_19.06.00.bb b/meta-oe/recipes-test/fwts/fwts_20.07.00.bb index 88a89fb0b6..28565eb8ca 100644 --- a/meta-oe/recipes-test/fwts/fwts_19.06.00.bb +++ b/meta-oe/recipes-test/fwts/fwts_20.07.00.bb | |||
@@ -5,8 +5,7 @@ HOMEPAGE = "https://wiki.ubuntu.com/Kernel/Reference/fwts" | |||
5 | LICENSE = "GPLv2+" | 5 | LICENSE = "GPLv2+" |
6 | LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=16;md5=31da590f3e9f3bd34dcdb9e4db568519" | 6 | LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=16;md5=31da590f3e9f3bd34dcdb9e4db568519" |
7 | 7 | ||
8 | SRCREV = "b0ec7aa2ef743d113fd8c5e57c0ca3d5edd86f0e" | 8 | SRC_URI = "http://fwts.ubuntu.com/release/fwts-V${PV}.tar.gz;subdir=${BP} \ |
9 | SRC_URI = "http://fwts.ubuntu.com/release/fwts-V19.06.00.tar.gz;subdir=${BPN}-${PV} \ | ||
10 | file://0001-Include-poll.h-instead-of-deprecated-sys-poll.h.patch \ | 9 | file://0001-Include-poll.h-instead-of-deprecated-sys-poll.h.patch \ |
11 | file://0002-Define-__SWORD_TYPE-if-not-defined-by-libc.patch \ | 10 | file://0002-Define-__SWORD_TYPE-if-not-defined-by-libc.patch \ |
12 | file://0003-Undefine-PAGE_SIZE.patch \ | 11 | file://0003-Undefine-PAGE_SIZE.patch \ |
@@ -14,15 +13,14 @@ SRC_URI = "http://fwts.ubuntu.com/release/fwts-V19.06.00.tar.gz;subdir=${BPN}-${ | |||
14 | file://0003-use-intptr_t-to-fix-pointer-to-int-cast-issues.patch \ | 13 | file://0003-use-intptr_t-to-fix-pointer-to-int-cast-issues.patch \ |
15 | file://0001-Remove-Werror-from-build.patch \ | 14 | file://0001-Remove-Werror-from-build.patch \ |
16 | " | 15 | " |
17 | SRC_URI[md5sum] = "012f933329510cc5a71817ede681eee2" | 16 | SRC_URI[sha256sum] = "4a8e0211b388efbcfcb6530297e9a924d0afa2d6db58e9db2f031129eda6d66f" |
18 | SRC_URI[sha256sum] = "13aa991f12c69f48df368aae5e5d0fbc9136413b4bfe115421bc3216d919f8a2" | ||
19 | 17 | ||
20 | COMPATIBLE_HOST = "(i.86|x86_64|aarch64|powerpc64).*-linux" | 18 | COMPATIBLE_HOST = "(i.86|x86_64|aarch64|powerpc64).*-linux" |
21 | 19 | ||
22 | DEPENDS = "libpcre json-c glib-2.0 dtc bison-native libbsd" | 20 | DEPENDS = "libpcre json-c glib-2.0 dtc bison-native libbsd" |
23 | DEPENDS_append_libc-musl = " libexecinfo" | 21 | DEPENDS_append_libc-musl = " libexecinfo" |
24 | 22 | ||
25 | inherit autotools bash-completion pkgconfig | 23 | inherit autotools-brokensep bash-completion pkgconfig |
26 | 24 | ||
27 | CFLAGS += "-I${STAGING_INCDIR}/json-c -Wno-error=unknown-pragmas" | 25 | CFLAGS += "-I${STAGING_INCDIR}/json-c -Wno-error=unknown-pragmas" |
28 | LDFLAGS_append_libc-musl = " -lexecinfo" | 26 | LDFLAGS_append_libc-musl = " -lexecinfo" |
@@ -32,5 +30,3 @@ FILES_${PN}-dev += "${libdir}/fwts/lib*${SOLIBSDEV} ${libdir}/fwts/lib*.la" | |||
32 | FILES_${PN}-staticdev += "${libdir}/fwts/lib*a" | 30 | FILES_${PN}-staticdev += "${libdir}/fwts/lib*a" |
33 | FILES_${PN}-dbg += "${libdir}/fwts/.debug" | 31 | FILES_${PN}-dbg += "${libdir}/fwts/.debug" |
34 | 32 | ||
35 | TOOLCHAIN = "gcc" | ||
36 | |||