summaryrefslogtreecommitdiffstats
path: root/presence/Makefile.am
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-06-14 22:32:20 -0400
committerPatrick Williams <patrick@stwcx.xyz>2017-08-02 20:18:19 +0000
commit5c5894878b09fdef8fcbee000f83283b73b8da64 (patch)
treea4d3746ab06c6334f19c795fa7171f789389c62e /presence/Makefile.am
parentdd62e36eabe275348bc7e74201f960197b01bd0c (diff)
downloadphosphor-fan-presence-5c5894878b09fdef8fcbee000f83283b73b8da64.tar.gz
phosphor-fan-presence-5c5894878b09fdef8fcbee000f83283b73b8da64.zip
presence: Add gpio presence sensor
Add a gpio presence implementation of the PresenceSensor interface. The gpio sensor simply maps the on off state of a gpio directly to the xyz.openbmc_project.Inventory.Item Present property. Change-Id: I071dd475bebb15372edb59506352746c20542eff Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'presence/Makefile.am')
-rw-r--r--presence/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/presence/Makefile.am b/presence/Makefile.am
index 2ea4929..2a5976c 100644
--- a/presence/Makefile.am
+++ b/presence/Makefile.am
@@ -6,6 +6,7 @@ sbin_PROGRAMS = \
phosphor_fan_presence_tach_SOURCES = \
fan.cpp \
+ gpio.cpp \
tach.cpp \
fan_enclosure.cpp \
tach_sensor.cpp \
OpenPOWER on IntegriCloud