blob: 1d2ae5dc11a5bec9bd9518ade8990e4467046f33 [file] [log] [blame]
hothupdate_pre = declare_dependency(
include_directories: include_directories('.'),
dependencies: [
hothblob_dep,
dependency('hothd-dbus'),
phosphor_logging_dep,
sdbusplus_dep,
])
hothupdate_lib = static_library(
'hothupdate',
'dbus_update_impl.cpp',
'hoth_update.cpp',
implicit_include_directories: false,
dependencies: hothupdate_pre)
hothupdate_dep = declare_dependency(
link_with: hothupdate_lib,
dependencies: hothupdate_pre)
shared_module(
'hothupdate',
'main_update.cpp',
implicit_include_directories: false,
dependencies: hothupdate_dep,
install: true,
install_dir: get_option('libdir') / 'blob-ipmid')
if not get_option('tests').disabled()
subdir('test')
endif