diff options
author | Richard Hughes <richard@hughsie.com> | 2018-12-19 11:44:22 +0000 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-04-02 17:33:27 +0000 |
commit | cb97368328bc68698ab7e58a6d692635dfb1b1c7 (patch) | |
tree | c2cd06a37dcad1ccb0ff5103317c932efca46d37 /82802ab.c | |
parent | dc5af547df8b2f852deb5ddad86bb90ff0fc50c0 (diff) | |
download | flashrom-cb97368328bc68698ab7e58a6d692635dfb1b1c7.tar.gz flashrom-cb97368328bc68698ab7e58a6d692635dfb1b1c7.tar.bz2 flashrom-cb97368328bc68698ab7e58a6d692635dfb1b1c7.zip |
Add support for the meson build system
The fwupd project has to build in all kinds of crazy targets, e.g. for odd
endians, odd instruction sets, and in odd ways, e.g. installing with a prefix
of /app for projects like flatpak. We also have other "robustness" guarantees
and therefore have a comprehensive set of CI tests which enable a lot of
warning flags and run linting and static analysis code like Coverity.
Rather than hack the Makefile I ported the codebase to use Meson.
Meson is a(nother) next-generation build system used by a lot of open source
projects ranging from low level libraries to desktop software. As part of the
port, I also copied the CONFIG_ logic from the makefile, e.g.
Option Current Value Possible Values Description
------ ------------- --------------- -----------
config_atahpt false [true, false] Highpoint (HPT) ATA/RAID controllers
config_atapromise false [true, false] Promise ATA controller
config_atavia true [true, false] VIA VT6421A LPC memory
...
At the moment I'm using the meson port so I can include flashrom as a subproject
to fwupd as distros are not yet shipping libflashrom as a shared library.
Change-Id: I3d950ece2a0568c09985eab47ddab9df1d0c43a2
Signed-off-by: Richard Hughes <richard@hughsie.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/31248
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to '82802ab.c')
0 files changed, 0 insertions, 0 deletions