blob: 12aacdf4cfaa64f2f6704d1301a2bc10bf49bb6b [file] [log] [blame]
Patrick Venture028d2402018-03-09 15:37:45 -08001SUMMARY = "Phosphor PID Fan Control"
2DESCRIPTION = "Fan Control"
Patrick Venturec311dec2018-09-29 09:19:22 -07003HOMEPAGE = "github.com/openbmc/phosphor-pid-control"
Patrick Venture028d2402018-03-09 15:37:45 -08004PR = "r1"
Patrick Venturec311dec2018-09-29 09:19:22 -07005PV = "0.1+git${SRCPV}"
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
Patrick Venture028d2402018-03-09 15:37:45 -08008
James Feistae3f0852018-11-20 11:29:16 -08009inherit flto-automake pkgconfig
Patrick Venture028d2402018-03-09 15:37:45 -080010
11inherit phosphor-pid-control
12inherit obmc-phosphor-ipmiprovider-symlink
13
Patrick Venturec311dec2018-09-29 09:19:22 -070014S = "${WORKDIR}/git"
15SRC_URI = "git://github.com/openbmc/phosphor-pid-control"
Andrew Geissler7c617d02019-04-15 14:22:02 +000016SRCREV = "ce6a3f36cedc2f822fb446bc5094eaeab47eb4af"
Patrick Venturec311dec2018-09-29 09:19:22 -070017
Patrick Venture028d2402018-03-09 15:37:45 -080018# Each platform will need a service file that starts
19# at an appropriate time per system. For instance, if
20# your system relies on passive dbus for fans or other
21# sensors then it may be prudent to wait for all of them.
22
23DEPENDS += "autoconf-archive-native"
Patrick Venture028d2402018-03-09 15:37:45 -080024DEPENDS += "sdbusplus"
Brad Bishop26873c92019-03-22 23:41:42 -040025DEPENDS += "phosphor-dbus-interfaces"
Patrick Venture028d2402018-03-09 15:37:45 -080026DEPENDS += "phosphor-logging"
Patrick Venture135828d2019-03-26 10:42:53 -070027DEPENDS += "phosphor-dbus-interfaces"
Patrick Venture028d2402018-03-09 15:37:45 -080028DEPENDS += "libevdev"
Patrick Venture9b40f492019-02-12 08:59:31 -080029DEPENDS += "nlohmann-json"
Patrick Ventured0742562019-03-11 08:45:12 -070030DEPENDS += "cli11"
Andrew Geissler7c617d02019-04-15 14:22:02 +000031DEPENDS += "boost"
Patrick Venture028d2402018-03-09 15:37:45 -080032
Patrick Venture028d2402018-03-09 15:37:45 -080033# We depend on this to be built first so we can build our providers.
34DEPENDS += "phosphor-ipmi-host"
35
Andrew Geisslerf0bbd182019-03-29 16:11:53 +000036FILES_${PN} = "${bindir}/swampd ${bindir}/setsensor"
Patrick Venture028d2402018-03-09 15:37:45 -080037
Patrick Venture13a1e6b2018-07-27 07:27:01 -070038# The following installs the OEM IPMI handler for the fan controls.
39FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}"
40FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}"
41FILES_${PN}_append = " ${libdir}/net-ipmid/lib*${SOLIBS}"
42FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.la"
Patrick Venture028d2402018-03-09 15:37:45 -080043
Patrick Venture13a1e6b2018-07-27 07:27:01 -070044HOSTIPMI_PROVIDER_LIBRARY += "libmanualcmds.so"