blob: 8334e7e4ea512a3a9274d4fbd695ee48b844a7ca [file] [log] [blame]
Brad Bishopb4459912019-11-05 19:39:11 -05001cpp_args = boost_args + ['-DPACKAGE_DIR="' + packagedir + '/"']
Patrick Williams37304f02025-02-01 08:38:32 -05002cpp_args += ['-DSYSCONF_DIR="' + sysconfdir + '/"']
Potin Laif375fec2024-03-21 14:35:45 +08003installdir = join_paths(get_option('libexecdir'), 'entity-manager')
Brad Bishopb4459912019-11-05 19:39:11 -05004
Christopher Meisfc9e7fd2025-04-03 13:13:35 +02005subdir('entity_manager')
Brad Bishopb4459912019-11-05 19:39:11 -05006
Brad Bishop92daaaa2020-01-20 15:45:01 -05007if get_option('fru-device')
Christopher Meis3cbff972025-04-09 14:07:22 +02008 subdir('fru_device')
Brad Bishop92daaaa2020-01-20 15:45:01 -05009endif
Chris Sides2ab73412024-10-15 16:04:11 -050010
11if get_option('devicetree-vpd')
12 cpp_args_fd = cpp_args
13 executable(
14 'devicetree-vpd-parser',
15 'machine_context.cpp',
16 'devicetree_vpd_parser.cpp',
17 cpp_args: cpp_args_fd,
Patrick Williams37304f02025-02-01 08:38:32 -050018 dependencies: [sdbusplus, phosphor_dbus_interfaces_dep],
Chris Sides2ab73412024-10-15 16:04:11 -050019 install: true,
20 install_dir: installdir,
21 )
22endif