History log of /openbmc/phosphor-power/phosphor-regulators/meson.build (Results 1 – 6 of 6)
Revision Date Author Comments
# 5c6a693e 29-Nov-2023 Patrick Williams <patrick@stwcx.xyz>

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer retur

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features. Instead, the
expectation is to use `allowed()` which is true for both enabled and auto.

Switch all uses of `enabled` to `allowed`.

Change-Id: I37fcb391dcb215a86a60c26f7512f6ccb8312dc4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# d13feab0 20-Dec-2019 Matthew Barth <msbarth@us.ibm.com>

regulators: Add/install config files

Add a `config_files` directory to contain all JSON configuration files
and install all directories/files it contains to
`/usr/share/phosphor-regu

regulators: Add/install config files

Add a `config_files` directory to contain all JSON configuration files
and install all directories/files it contains to
`/usr/share/phosphor-regulators/`.

Tested:
All directories/files contained are installed
Installed configs are in /usr/share/phosphor-regulators

Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: I3d67adcd12dd5e05ea333001e9dbb023957551b4

show more ...


# 8122eee2 12-Nov-2019 Shawn McCarney <shawnmm@us.ibm.com>

Only build regulator tests when option enabled

Currently the regulator tests are always built. This causes problems in
the Witherspoon SDK because it seems to contain an older, incompat

Only build regulator tests when option enabled

Currently the regulator tests are always built. This causes problems in
the Witherspoon SDK because it seems to contain an older, incompatible
version of gmock.

Modified the regulators meson file to only build the tests if the meson
'tests' option is enabled.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I5bfe6ee22487085d37832e4b7b0d9f63c8751c0a

show more ...


# 623f5a8c 03-Nov-2019 Shawn McCarney <shawnmm@us.ibm.com>

Create regulators StubAction class

Created the StubAction class to aid in unit testing the
phosphor-regulators application. This simple 'stub' will either return
a predefined return

Create regulators StubAction class

Created the StubAction class to aid in unit testing the
phosphor-regulators application. This simple 'stub' will either return
a predefined return value or throw a predefined exception.

Updated the meson.build file to search for includes in the test
tree. This is where stub classes will be located.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I78030d29f3bc6a94db998c5a1712a3b4a03c3e90

show more ...


# c69a2750 30-Oct-2019 Shawn McCarney <shawnmm@us.ibm.com>

Create regulators ActionEnvironment class

Create the ActionEnvironment class used in the regulators action
framework.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Chan

Create regulators ActionEnvironment class

Create the ActionEnvironment class used in the regulators action
framework.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I9d5493cd9d3b8594076e5a97628b61a152c8c500

show more ...


# a2461b34 24-Oct-2019 Shawn McCarney <shawnmm@us.ibm.com>

Create stubs for regulator Device, Rail, and Rule

Create stub versions of the Device, Rail, and Rule classes for the
phosphor-regulators application. Having a stub version of these clas

Create stubs for regulator Device, Rail, and Rule

Create stub versions of the Device, Rail, and Rule classes for the
phosphor-regulators application. Having a stub version of these classes
is a pre-requisite for implementing the action framework.

Also updated the top level meson.build file to build the
phosphor-regulators directory. Created new meson.build files for
several phosphor-regulators sub-directories.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I50b018db744191acd1e473652019906a8506745f

show more ...