Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
From db480b9f3e3a5c6c12e9dd04e87c8dff9381b8e7 Mon Sep 17 00:00:00 2001
|
||||
From: Erico Nunes <nunes.erico@gmail.com>
|
||||
Date: Fri, 12 Aug 2016 23:11:56 +0200
|
||||
Subject: [PATCH] fwts: do not use -Werror
|
||||
|
||||
Warnings come and go with various compiler versions, so using -Werror is
|
||||
prone to cause build failures with various compiler versions, especially
|
||||
newer versions that introduce new warnings.
|
||||
|
||||
Remove use of -Werror.
|
||||
|
||||
Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
src/Makefile.am | 2 +-
|
||||
src/lib/src/Makefile.am | 2 +-
|
||||
src/utilities/Makefile.am | 2 +-
|
||||
4 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index e3e7512..64034fa 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,5 +1,5 @@
|
||||
AC_INIT([fwts],[0.1],[fwts-devel@lists.ubuntu.com])
|
||||
- AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
||||
+ AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
|
||||
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
|
||||
AC_CANONICAL_HOST
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index bc23e8d..599765d 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -14,7 +14,7 @@ AM_CPPFLAGS = \
|
||||
`pkg-config --silence-errors --cflags json` \
|
||||
`pkg-config --silence-errors --cflags json-c` \
|
||||
-pthread `pkg-config --cflags glib-2.0 gio-2.0` \
|
||||
- -Wall -Werror -Wextra
|
||||
+ -Wall -Wextra
|
||||
|
||||
bin_PROGRAMS = fwts
|
||||
|
||||
diff --git a/src/lib/src/Makefile.am b/src/lib/src/Makefile.am
|
||||
index 1b8fd74..163c9ae 100644
|
||||
--- a/src/lib/src/Makefile.am
|
||||
+++ b/src/lib/src/Makefile.am
|
||||
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
|
||||
`pkg-config --silence-errors --cflags json-c` \
|
||||
`pkg-config --cflags glib-2.0 gio-2.0` \
|
||||
-DDATAROOTDIR=\"$(datarootdir)\" \
|
||||
- -Wall -Werror -Wextra
|
||||
+ -Wall -Wextra
|
||||
|
||||
pkglib_LTLIBRARIES = libfwts.la
|
||||
|
||||
diff --git a/src/utilities/Makefile.am b/src/utilities/Makefile.am
|
||||
index 9a47980..14997df 100644
|
||||
--- a/src/utilities/Makefile.am
|
||||
+++ b/src/utilities/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-AM_CPPFLAGS = -Wall -Werror -Wextra -DDATAROOTDIR=\"$(datarootdir)\" \
|
||||
+AM_CPPFLAGS = -Wall -Wextra -DDATAROOTDIR=\"$(datarootdir)\" \
|
||||
`pkg-config --silence-errors --cflags json` \
|
||||
`pkg-config --silence-errors --cflags json-c`
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
||||
27
bsp/buildroot/package/fwts/Config.in
Normal file
27
bsp/buildroot/package/fwts/Config.in
Normal file
@@ -0,0 +1,27 @@
|
||||
config BR2_PACKAGE_FWTS
|
||||
bool "fwts"
|
||||
depends on BR2_i386 || BR2_x86_64 || BR2_aarch64
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_MMU # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # execinfo.h
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_JSON_C
|
||||
help
|
||||
Firmware Test Suite (FWTS) is a test suite that performs
|
||||
sanity checks on firmware. It is intended to identify BIOS and
|
||||
ACPI errors and if appropriate it will try to explain the
|
||||
errors and give advice to help workaround or fix firmware
|
||||
bugs.
|
||||
|
||||
dtc (libfdt) is an optional dependency for fdt related tests.
|
||||
|
||||
https://wiki.ubuntu.com/FirmwareTestSuite
|
||||
|
||||
comment "fwts needs a glibc toolchain w/ wchar, threads"
|
||||
depends on BR2_i386 || BR2_x86_64 || BR2_aarch64
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_USES_GLIBC
|
||||
2
bsp/buildroot/package/fwts/fwts.hash
Normal file
2
bsp/buildroot/package/fwts/fwts.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Hash from: http://fwts.ubuntu.com/release/SHA256SUMS
|
||||
sha256 077b57864515ffdd6d655201da750829f9ccffb8f280eb86d01c2ef184cdcb16 fwts-V16.11.00.tar.gz
|
||||
16
bsp/buildroot/package/fwts/fwts.mk
Normal file
16
bsp/buildroot/package/fwts/fwts.mk
Normal file
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# fwts
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FWTS_VERSION = V16.11.00
|
||||
FWTS_SITE = http://fwts.ubuntu.com/release
|
||||
FWTS_STRIP_COMPONENTS = 0
|
||||
FWTS_LICENSE = GPLv2, LGPLv2.1, Custom
|
||||
FWTS_LICENSE_FILES = debian/copyright
|
||||
FWTS_AUTORECONF = YES
|
||||
FWTS_DEPENDENCIES = host-bison host-flex host-pkgconf json-c libglib2 \
|
||||
$(if $(BR2_PACKAGE_DTC),dtc)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user