blob: c9b7b33f6cec0a03bd06ef6c80978257df18ea90 [file] [log] [blame]
Adriana Kobylak0af80a42020-05-05 13:32:10 -05001# Supported BMC layout types. Reference:
2# https://github.com/openbmc/docs/blob/master/code-update/flash-layout.md#supported-filesystem-choices
3# - static: NOR flash configured with fixed-sized MTD partitions.
4# - ubi: NOR flash device configured with UBI volumes.
Adriana Kobylak86013f32020-05-13 12:12:38 -05005# - mmc: eMMC flash device configured with ext4 filesystems.
Adriana Kobylak0af80a42020-05-05 13:32:10 -05006option('bmc-layout', type: 'combo',
Adriana Kobylak86013f32020-05-13 12:12:38 -05007 choices: ['static', 'ubi', 'mmc'],
Adriana Kobylak0af80a42020-05-05 13:32:10 -05008 value: 'static',
9 description: 'The BMC layout type.')
10
11# Features
12option('host-bios-upgrade', type: 'feature',
13 description: 'Enable host bios upgrade support.')
14
15option('sync-bmc-files', type: 'feature',
16 description: 'Enable sync of filesystem files.')
17
Adriana Kobylak78e72d92020-05-05 14:01:54 -050018option('tests', type: 'feature', description: 'Build tests')
19
20option('oe-sdk', type: 'feature', description: 'Enable OE SDK')
21
Adriana Kobylak0af80a42020-05-05 13:32:10 -050022option('verify-signature', type: 'feature',
23 description: 'Enable image signature validation.')
24
25# Variables
26option(
27 'active-bmc-max-allowed', type: 'integer',
28 value: 1,
29 description: 'The maximum allowed active BMC versions.',
30)
31
32option(
33 'hash-file-name', type: 'string',
34 value: 'hashfunc',
35 description: 'The name of the hash file.',
36)
37
38option(
39 'img-upload-dir', type: 'string',
40 value: '/tmp/images',
41 description: 'Directory where downloaded software images are placed.',
42)
43
44option(
45 'manifest-file-name', type: 'string',
46 value: 'MANIFEST',
47 description: 'The name of the MANIFEST file.',
48)
49
50option(
51 'media-dir', type: 'string',
52 value: '/run/media',
53 description: 'The base dir where all read-only partitions are mounted.',
54)
55
56option(
57 'publickey-file-name', type: 'string',
58 value: 'publickey',
59 description: 'The name of the public key file.',
60)
61
62option(
63 'signature-file-ext', type: 'string',
64 value: '.sig',
65 description: 'The extension of the Signature file.',
66)
67
68option(
69 'signed-image-conf-path', type: 'string',
70 value: '/etc/activationdata/',
71 description: 'Path of public key and hash function files.',
72)
73
74option(
75 'sync-list-dir-path', type: 'string',
76 value: '/etc/',
77 description: 'The path to the sync list file directory.',
78)
79
80option(
81 'sync-list-file-name', type: 'string',
82 value: 'synclist',
83 description: 'The name of the sync list file.',
84)