summaryrefslogtreecommitdiffstats
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* libfan: RemoveWilliam A. Kennington III2019-02-051-14/+0
| | | | | | | | | | | | | Since the removal of the custom timer implementation our libfan has nothing but a single header file. Since we have no object code left we do not need a library to contain this code since the header is directly included where needed. Tested: Built and run through unit tests. Change-Id: I139b83ab979ead88cfd4c180ba8847a29c6407e2 Signed-off-by: William A. Kennington III <wak@google.com>
* Remove timer in favor of sdeventplus/utility/timerWilliam A. Kennington III2019-02-051-6/+4
| | | | | | | | | | | This removes the custom timer implementation and moves to the sdeventplus utility. Functionally this should make no change Tested: Built and run through the unit test suite. Change-Id: Ib7ee90d489d5db72496aaaca91c3cf5490ad47d6 Signed-off-by: William A. Kennington III <wak@google.com>
* Switch sd_event loops to sdeventplusWilliam A. Kennington III2018-10-291-2/+4
| | | | | | | | | This change is mostly focused around plumbing the sdeventplus::Event object everywhere and using the member functions provided for the event. No migration to the timer utility is performed yet. Change-Id: I912ab82bc081239d3b7c3cf7c5caca6742ef9c87 Signed-off-by: William A. Kennington III <wak@google.com>
* Makefile: Fix library compile flagsWilliam A. Kennington III2018-10-191-0/+4
| | | | | | | | We are missing flags for compiling against dependencies used in libfan. Change-Id: I62addac0d153be194171acee77ec7a32a503b85c Signed-off-by: William A. Kennington III <wak@google.com>
* Fix libfan_la_CXXFLAGSLei YU2018-09-261-1/+1
| | | | | | | | | | | | | The libfan_la_CXXFLAGS was incorrectly defined as empty by a typo, fix it. Then specify gcc-ar gcc-ranlib for link time optimization, otherwise the static library will get link error. Tested: Verify the build is OK in CI, local build, and SDK build. Resolves openbmc/phosphor-fan-presence#11 Change-Id: I17c83b9927a796f8928a71688c1640d1a602a108 Signed-off-by: Lei YU <mine260309@gmail.com>
* Add -flto to CXXFLAGSAndrew Geissler2018-08-271-1/+1
| | | | | | | | | | Per openbmc/openbmc#3364, adding -flto to CXX flags in order to reduce overall library and binary sizes. Ref: https://gcc.gnu.org/wiki/LinkTimeOptimization Change-Id: I3ee31a15fc0ded4308aa9d00a11b41bc62eb9799 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* evdevpp: Add test directory for libevdev wrappersBrad Bishop2017-08-021-1/+1
| | | | | Change-Id: Ib9d2e5cee2b9c1e28eb08c3c85f36f448160c16f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add test directory for sdevent wrappersBrad Bishop2017-08-021-1/+1
| | | | | Change-Id: I23843493e8f2c43ed50cdf1ad5def66a2f29dec3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Fill in shell functions/files for cooling type.Brandon Wyman2017-05-191-1/+1
| | | | | Change-Id: I8d18d3141e955adeffdd8122ebb17549c88edd77 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* phosphor-fan-monitor frameworkMatt Spinler2017-05-111-0/+3
| | | | | | | | | | | | | | | | This application will monitor the actual speeds of fans (via their sensors) and compare them to their expected speeds. If a fan is too slow for too long, it will have its Functional property in the inventory set to false. If it starts working again, the property will be set back to true. It will use configuration data to say which fans to check and which values to use for various timeout and deviation parameters. Change-Id: Ic61613018a758727835b70f2df0ecd1bf12e8256 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* phosphor-fan: Testcases for Timer classMatt Spinler2017-05-111-1/+1
| | | | | Change-Id: Id8b752cc6e494dcf76d9668553292a65a3fd19d6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* phosphor-fan: Create timer classMatt Spinler2017-05-111-1/+2
| | | | | | | | | This class can be used to call an arbitrary function after a certain amount of time, which is set in microseconds. Change-Id: Ifd65bbf0c3482db4e37efc3b1ccc868e62fa0afa Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Create framework for phosphor-cooling-type appBrandon Wyman2017-04-241-0/+3
| | | | | | | | | | | | | | | | | An application called phosphor-cooling-type is being created in the phosphor-fan-presence repo under the chassis-cooling-type subdirectory. This application will update the D-Bus CoolingType properties for a cooling zone via passed in parameters. The current properties to be updated are AirCooling and WaterCooling. They will be set to true or false based the passed in parameters --air (set AirCooling to true), --water (set WaterCooling to true), and/or --gpio=<path> (path to a GPIO pin to read to determine if one or more properties should be set to true or false). Change-Id: I774065e29849aaa54653ae6188dc42aa846a1cf0 Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* build: Add disables for control and presence pkgsBrad Bishop2017-04-241-1/+8
| | | | | | | Allow granular control of built packages. Change-Id: Idaded1f149991b1d767f29e0762015f3ba4a0d9d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* build: Move presence to a subdirectoryBrad Bishop2017-04-241-21/+8
| | | | | Change-Id: I33b28922107b9b041de3699e4a6eebd3d05ebdef Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Fan control: Add phosphor-fan-control frameworkMatt Spinler2017-04-121-0/+2
| | | | | Change-Id: Ie1dc082490997712b4fe3f42d0ddb5049ae5ca06 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Move getInvService() into utility function.Brandon Wyman2017-03-201-1/+2
| | | | | | | Resolves openbmc/openbmc#1299 Change-Id: I61f511dcc15e67393a47bd0395b752d2e6f17f11 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Trace mapper and inventory errorsMatthew Barth2017-03-151-2/+4
| | | | | | | | Add journal error entries for error conditions on mapper and inventory manager update calls. Change-Id: Iecb310575414878f4b83c24136e6ae1312c6f7aa Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Call gen-fan-detect-defs script during buildMatthew Barth2017-03-101-0/+8
| | | | | Change-Id: Ie7b9109f097490401c2f4d75f278afad6926d18b Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Add fan presence application frameworkMatthew Barth2017-03-091-0/+11
| | | | | | | Add class framework for detecting fans by tach Change-Id: I45295fd6bcd81c62cef36320dfbc4f0da6092557 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Initial fan presence build frameworkMatthew Barth2017-01-261-0/+1
Change-Id: Ic39848e285e776ef198c7a41f20debfa164af644 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
OpenPOWER on IntegriCloud