5906173a | 07-Oct-2019 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
build: add support for building with meson
Follow the OpenBMC herd and support a more modern, more comprehensible, more performant build framework.
To build using meson: meson build ninja -C bu
build: add support for building with meson
Follow the OpenBMC herd and support a more modern, more comprehensible, more performant build framework.
To build using meson: meson build ninja -C build ninja -C build install
Maintain support for: Configurable dbus parameters: BUSNAME_PREFIX= -> -Dbusname-prefix= SENSOR_ROOT= -> -Dsensor-root= System call failure behavior: --enable-negative-errno-on-failure -> -Dnegative-errno-on-fail --enable-update-functional-on-fail -> -Dupdate-functional-on-fail
Add -Dtests to match de-facto OpenBMC meson usage conventions.
Drop support for --enable-oe-sdk rpath munging. This is a workaround for broken oe sdks that don't figure out the correct rpath when running make check or ninja test.
Upstream meson does not currently have support for custom code coverage parameters: https://github.com/mesonbuild/meson/issues/4628
Autotools does support this, so support of our custom code coverage parameters cannot be maintained using meson, without meson enhancements.
Change-Id: I312f1af4c3fcc20ca8bdf2bbf53b06f18abfbfe2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|