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