blob: e550064c8b19679182c1bc18b8b5500e8493bc67 [file] [log] [blame]
Willy Tubcae9002021-09-12 13:58:04 -07001cleanup_pre = declare_dependency(
2 include_directories: [root_inc, include_directories('.')],
William A. Kennington III0df40852021-11-01 13:56:42 -07003 dependencies: blobs_dep)
Willy Tubcae9002021-09-12 13:58:04 -07004
5cleanup_lib = static_library(
6 'firmwarecleanupblob',
7 'cleanup.cpp',
8 'fs.cpp',
9 conf_h,
10 implicit_include_directories: false,
11 dependencies: cleanup_pre)
12
13cleanup_dep = declare_dependency(
14 link_with: cleanup_lib,
15 dependencies: cleanup_pre)
16
17shared_module(
18 'firmwarecleanupblob',
19 'main.cpp',
20 implicit_include_directories: false,
21 dependencies: [
22 cleanup_dep,
23 dependency('libipmid'),
24 ],
25 install: true,
26 install_dir: get_option('libdir') / 'blob-ipmid')
27
28if not get_option('tests').disabled()
29 subdir('test')
30endif