See the full description in patch #2. Please, let me know if I'm missing some obvious way to disable libs and drivers in meson.
Ilya Maximets (2): meson: don't check dependencies for tests if not required meson: make build configurable app/meson.build | 5 +++++ app/test/meson.build | 38 ++++++++++++++++++------------------ drivers/baseband/meson.build | 5 +++++ drivers/bus/meson.build | 6 ++++++ drivers/common/meson.build | 6 ++++++ drivers/compress/meson.build | 5 +++++ drivers/crypto/meson.build | 5 +++++ drivers/event/meson.build | 6 ++++++ drivers/mempool/meson.build | 6 ++++++ drivers/net/meson.build | 6 ++++++ drivers/raw/meson.build | 6 ++++++ lib/meson.build | 5 +++++ meson_options.txt | 22 +++++++++++++++++++++ 13 files changed, 102 insertions(+), 19 deletions(-) -- 2.17.1