blob: 7eb6d91668cf5ea32c7fd1a3edc0a5678466aaf4 [file] [log] [blame]
# Source files.
util_src = files(
'data_file.cpp',
'dbus.cpp',
'ffdc.cpp',
'ffdc_file.cpp',
'pdbg.cpp',
'pdbg-no-sim.cpp',
'temporary_file.cpp',
)
# Library dependencies.
util_deps = [
libhei_dep,
libpdbg_dep,
phosphor_logging_dep,
]
if get_option('phal').enabled()
util_deps += dependency('libdt-api')
endif
# Create static library.
util_lib = static_library(
'util_lib',
util_src,
include_directories : incdir,
dependencies : util_deps,
cpp_args : [ package_args ],
install : false,
)
# Install the util data files
subdir('data')