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