summaryrefslogtreecommitdiffstats
path: root/libflashrom.map
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2018-12-19 11:44:22 +0000
committerNico Huber <nico.h@gmx.de>2019-04-02 17:33:27 +0000
commitcb97368328bc68698ab7e58a6d692635dfb1b1c7 (patch)
treec2cd06a37dcad1ccb0ff5103317c932efca46d37 /libflashrom.map
parentdc5af547df8b2f852deb5ddad86bb90ff0fc50c0 (diff)
downloadflashrom-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 'libflashrom.map')
-rw-r--r--libflashrom.map24
1 files changed, 24 insertions, 0 deletions
diff --git a/libflashrom.map b/libflashrom.map
new file mode 100644
index 000000000..3c287ff14
--- /dev/null
+++ b/libflashrom.map
@@ -0,0 +1,24 @@
+LIBFLASHROM_1.0 {
+ global:
+ flashrom_flag_get;
+ flashrom_flag_set;
+ flashrom_flash_erase;
+ flashrom_flash_getsize;
+ flashrom_flash_probe;
+ flashrom_flash_release;
+ flashrom_image_read;
+ flashrom_image_verify;
+ flashrom_image_write;
+ flashrom_init;
+ flashrom_layout_include_region;
+ flashrom_layout_read_fmap_from_buffer;
+ flashrom_layout_read_fmap_from_rom;
+ flashrom_layout_read_from_ifd;
+ flashrom_layout_release;
+ flashrom_layout_set;
+ flashrom_programmer_init;
+ flashrom_programmer_shutdown;
+ flashrom_set_log_callback;
+ flashrom_shutdown;
+ local: *;
+};