blob: a3fa5b4689489a61bc298c4f4b6b0232b502cc8d [file] [log] [blame]
Matt Johnston6586fc12024-09-10 16:01:27 +08001option(
2 'bindings',
3 type: 'array',
4 description: 'Bindings to include',
Matt Johnstone5b941d2024-09-17 16:44:38 +08005 choices: ['serial', 'astlpc', 'i2c'],
6 value: ['serial', 'astlpc', 'i2c'],
Matt Johnston6586fc12024-09-10 16:01:27 +08007)
8option(
Matt Johnstonb04447c2025-09-18 15:51:04 +08009 'control',
10 type: 'boolean',
11 value: true,
12 description: 'Include MCTP control protocol handler',
Matt Johnston6586fc12024-09-10 16:01:27 +080013)
Matt Johnstonbbfcc6e2024-09-17 16:48:15 +080014option(
15 'custom_alloc',
16 type: 'boolean',
17 value: false,
18 description: 'Use fixed application-provided allocators',
19)
Matt Johnston12507272024-10-01 12:17:19 +080020option(
Matt Johnstonb04447c2025-09-18 15:51:04 +080021 '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(
Matt Johnston12507272024-10-01 12:17:19 +080037 'nolog',
38 type: 'boolean',
39 value: false,
40 description: 'Don\'t include any logging functionality',
41)
Matt Johnstonb04447c2025-09-18 15:51:04 +080042option('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
Matt Johnston4058b2c2024-11-07 14:53:50 +080047option(
Matt Johnstonb04447c2025-09-18 15:51:04 +080048 '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',
Matt Johnston4058b2c2024-11-07 14:53:50 +080073)