Skip to content
Snippets Groups Projects
  1. May 04, 2020
  2. Apr 01, 2020
  3. Mar 03, 2020
  4. Feb 01, 2020
  5. Jul 10, 2019
  6. Apr 02, 2019
    • Richard Hughes's avatar
      Add support for the meson build system · cb973683
      Richard Hughes authored
      
      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: default avatarRichard Hughes <richard@hughsie.com>
      Reviewed-on: https://review.coreboot.org/c/flashrom/+/31248
      
      
      Tested-by: default avatarbuild bot (Jenkins) <no-reply@coreboot.org>
      Reviewed-by: default avatarPhilipp Deppenwiese <zaolin.daisuki@gmail.com>
      Reviewed-by: default avatarDavid Hendricks <david.hendricks@gmail.com>
      cb973683
Loading