xref: /openbmc/phosphor-time-manager/meson.options (revision 76ca53e6b690a5808b4d572060396fa76c14f27c)
1cfa11a0aSGeorge Liu# Features List
2cfa11a0aSGeorge Liu
3cfa11a0aSGeorge Liu# command : meson configure -Dfeature_name=enabled
4cfa11a0aSGeorge Liu
5*76ca53e6SPatrick Williamsoption(
6*76ca53e6SPatrick Williams    'tests',
7*76ca53e6SPatrick Williams    type: 'feature',
8cfa11a0aSGeorge Liu    value: 'enabled',
9*76ca53e6SPatrick Williams    description: 'Build unit tests',
10cfa11a0aSGeorge Liu)
11cfa11a0aSGeorge Liu
12cfa11a0aSGeorge Liu# Commandline variables list
13cfa11a0aSGeorge Liu# Value can be assigned from commandline to below variables
14cfa11a0aSGeorge Liu# otherwise default value will be considered
15cfa11a0aSGeorge Liu# Command: meson configure -Doption=value
16cfa11a0aSGeorge Liu
17cfa11a0aSGeorge Liu# Ex: meson configure -Ddefault_time_mode=Mode::Manual
18cfa11a0aSGeorge Liu
19*76ca53e6SPatrick Williamsoption(
20*76ca53e6SPatrick Williams    'default_time_mode',
21*76ca53e6SPatrick Williams    type: 'combo',
22cfa11a0aSGeorge Liu    choices: ['Mode::Manual', 'Mode::NTP'],
23cfa11a0aSGeorge Liu    value: 'Mode::Manual',
24*76ca53e6SPatrick Williams    description: 'The default time mode',
25*76ca53e6SPatrick Williams)
26cfa11a0aSGeorge Liu
27cfa11a0aSGeorge Liuoption(
28cfa11a0aSGeorge Liu    'default_time_sync_object_path',
29cfa11a0aSGeorge Liu    type: 'string',
30cfa11a0aSGeorge Liu    value: '/xyz/openbmc_project/time/sync_method',
31*76ca53e6SPatrick Williams    description: 'Default object path for time sync setting',
32cfa11a0aSGeorge Liu)
33