13 Commits

Author SHA1 Message Date
Wang Mingyu
d8e50a9507 flashrom: upgrade 1.2 -> 1.2.1
0001-typecast-enum-conversions-explicitly.patc
removed since it's included in 1.2.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-04 15:33:58 -08:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Khem Raj
8910327c6a flashrom: Fix build with clang
Fixes
warning: implicit declaration of function 'asm' is invalid in C99 [-Wimplicit-function-declaration]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18 08:33:07 -07:00
Khem Raj
e024a4c708 flashrom: Add remaining RISCV support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
2021-03-30 15:36:17 -07:00
Ross Burton
401364d06f flashrom: recipe cleanup
Use Meson to build instead of the bare Makefiles, as the Meson build also
generates pkgconfig files which are needed fwupd.

Add PACKAGECONFIG options for the platform dependencies (libpci, libusb,
libftdi).  Add a patch to the meson.build to ensure that these options
work as intended.

Fix LICENSE, as this is GPLv2-or-later.

Replace 0001-typecast-enum-conversions-explicitly.patch with upstreamed
patch.

Drop 0001-Makefile-Check-for-last-line-only-from-preprocessed-.patch as
this is only needed for the Makefile build.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-30 12:38:55 -07:00
Khem Raj
f16aa16e91 flashrom: Fix build failure with glibc 2.32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:15 -07:00
Khem Raj
802f9127b1 flashrom: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-15 18:05:25 -07:00
Pierre-Jean Texier
c8a84d27cc flashrom: upgrade 1.1 -> 1.2
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-15 16:36:28 -07:00
Adrian Bunk
b66d2391b7 flashrom: Upgrade 1.0 -> 1.1
Patches applied upstream removed.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
Khem Raj
28abd55f75 flashrom: Fix build with libusb 1.0.22
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:27:42 -07:00
Armin Kuster
acf408ed73 flashrom: update SRC_URI
fixes
ERROR: flashrom-1.0-r0 do_fetch: Fetcher failure for URL: 'http://download.flashrom.org/releases/flashrom-1.0.tar.bz2'. Unable to fetch URL from any source.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-29 16:52:16 -07:00
Khem Raj
e0bc9bd439 flashrom: Upgrade to 1.0
- Fix build on risc-v
- Drop upstreamed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-29 16:48:04 -07:00
Armin Kuster
503a572e14 flashrom: move to recipes-bsp
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:10:37 -08:00