blob: 3eca7932a4674c1ab84f6c53f8265796856607f4 [file] [log] [blame]
Ed Tanous8ee19a42023-08-08 11:35:14 -07001project(
2 'phosphor-ipmi-bt',
3 'c',
4 version : '1.0',
5 meson_version: '>=1.1.1',
6 default_options: [
7 'b_lto_mode=default',
8 'b_lto_threads=0',
9 'b_lto=true',
10 'b_ndebug=if-release',
11 'warning_level=3',
12 'werror=true',
13 ]
14)
15
16systemd = dependency('systemd')
17libsystemd = dependency('libsystemd')
18systemd_system_unit_dir = systemd.get_variable(
19 pkgconfig: 'systemdsystemunitdir'
20)
21
22executable(
23 'btbridged',
24 'btbridged.c',
25 dependencies: [
26 libsystemd,
27 ],
28 install: true,
29)
30
31configure_file(
32 input: 'btbridged.service',
33 output: 'org.openbmc.HostIpmi.service',
34 install: true,
35 install_dir: systemd_system_unit_dir,
36 copy: true,
37)