build: Cleanup subprojects and gitignore
Change-Id: I4bb3d962214084127013adf6eb9012675a614bca
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/src/meson.build b/src/meson.build
index 8f301ca..84c2f82 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,21 +1,6 @@
-phosphor_logging_dep = dependency('phosphor-logging')
-
src_includes = include_directories('.')
-fmt_dep = dependency('fmt', required: false)
-if not fmt_dep.found()
- fmt_opts = import('cmake').subproject_options()
- fmt_opts.add_cmake_defines({
- 'CMAKE_POSITION_INDEPENDENT_CODE': 'ON',
- 'MASTER_PROJECT': 'OFF',
- })
- fmt_proj = import('cmake').subproject(
- 'fmt',
- options: fmt_opts,
- required: false)
- assert(fmt_proj.found(), 'fmtlib is required')
- fmt_dep = fmt_proj.dependency('fmt')
-endif
+stdplus_dep = dependency('stdplus')
executable(
'ncsi-netlink',
@@ -25,9 +10,9 @@
implicit_include_directories: false,
include_directories: src_includes,
dependencies: [
- fmt_dep,
dependency('libnl-3.0'),
dependency('libnl-genl-3.0'),
+ stdplus_dep,
],
install: true,
install_dir: get_option('bindir'))
@@ -48,11 +33,11 @@
networkd_deps = [
json_dep,
phosphor_dbus_interfaces_dep,
- phosphor_logging_dep,
+ dependency('phosphor-logging'),
networkd_dbus_dep,
sdbusplus_dep,
dependency('sdeventplus'),
- dependency('stdplus'),
+ stdplus_dep,
]
conf_header = configure_file(