xref: /openbmc/libmctp/meson.options (revision b04447c2d8c7d4659350a808ade9b1345794e3fc)
16586fc10SMatt Johnstonoption(
26586fc10SMatt Johnston    'bindings',
36586fc10SMatt Johnston    type: 'array',
46586fc10SMatt Johnston    description: 'Bindings to include',
5e5b941d9SMatt Johnston    choices: ['serial', 'astlpc', 'i2c'],
6e5b941d9SMatt Johnston    value: ['serial', 'astlpc', 'i2c'],
76586fc10SMatt Johnston)
86586fc10SMatt Johnstonoption(
9*b04447c2SMatt Johnston    'control',
10*b04447c2SMatt Johnston    type: 'boolean',
11*b04447c2SMatt Johnston    value: true,
12*b04447c2SMatt Johnston    description: 'Include MCTP control protocol handler',
136586fc10SMatt Johnston)
14bbfcc6e1SMatt Johnstonoption(
15bbfcc6e1SMatt Johnston    'custom_alloc',
16bbfcc6e1SMatt Johnston    type: 'boolean',
17bbfcc6e1SMatt Johnston    value: false,
18bbfcc6e1SMatt Johnston    description: 'Use fixed application-provided allocators',
19bbfcc6e1SMatt Johnston)
201250727fSMatt Johnstonoption(
21*b04447c2SMatt Johnston    'default_alloc',
22*b04447c2SMatt Johnston    type: 'feature',
23*b04447c2SMatt Johnston    description: 'Use libc malloc and free for heap memory',
24*b04447c2SMatt Johnston)
25*b04447c2SMatt Johnstonoption(
26*b04447c2SMatt Johnston    'default_clock_gettime',
27*b04447c2SMatt Johnston    type: 'boolean',
28*b04447c2SMatt Johnston    value: true,
29*b04447c2SMatt Johnston    description: 'Use clock_gettime() for time',
30*b04447c2SMatt Johnston)
31*b04447c2SMatt Johnstonoption(
32*b04447c2SMatt Johnston    'fileio',
33*b04447c2SMatt Johnston    type: 'feature',
34*b04447c2SMatt Johnston    description: 'Support interfaces based on file-descriptors',
35*b04447c2SMatt Johnston)
36*b04447c2SMatt Johnstonoption(
371250727fSMatt Johnston    'nolog',
381250727fSMatt Johnston    type: 'boolean',
391250727fSMatt Johnston    value: false,
401250727fSMatt Johnston    description: 'Don\'t include any logging functionality',
411250727fSMatt Johnston)
42*b04447c2SMatt Johnstonoption('stdio', type: 'feature', description: 'Support logging to stdio')
43*b04447c2SMatt Johnstonoption('syslog', type: 'feature', description: 'Support logging to syslog')
44*b04447c2SMatt Johnstonoption('tests', type: 'feature', value: 'enabled', description: 'Build tests')
45*b04447c2SMatt Johnston
46*b04447c2SMatt Johnston
474058b2cbSMatt Johnstonoption(
48*b04447c2SMatt Johnston    'max_message_size',
49*b04447c2SMatt Johnston    type: 'integer',
50*b04447c2SMatt Johnston    value: 65536,
51*b04447c2SMatt Johnston    description: 'Maximum message size',
52*b04447c2SMatt Johnston)
53*b04447c2SMatt Johnstonoption(
54*b04447c2SMatt Johnston    'reassembly_contexts',
55*b04447c2SMatt Johnston    type: 'integer',
56*b04447c2SMatt Johnston    value: 16,
57*b04447c2SMatt Johnston    description: 'Number of concurrent reassembly contexts',
58*b04447c2SMatt Johnston)
59*b04447c2SMatt Johnstonoption(
60*b04447c2SMatt Johnston    'request_tags',
61*b04447c2SMatt Johnston    type: 'integer',
62*b04447c2SMatt Johnston    value: 16,
63*b04447c2SMatt Johnston    description: 'Number of outbound request tags',
64*b04447c2SMatt Johnston)
65*b04447c2SMatt Johnston
66*b04447c2SMatt Johnston
67*b04447c2SMatt Johnstonoption('i2c_mtu', type: 'integer', value: 64, description: 'I2C packet MTU')
68*b04447c2SMatt Johnstonoption(
69*b04447c2SMatt Johnston    'i2c_neigh_count',
70*b04447c2SMatt Johnston    type: 'integer',
71*b04447c2SMatt Johnston    value: 4,
72*b04447c2SMatt Johnston    description: 'I2C neighbour table size',
734058b2cbSMatt Johnston)
74