Patrick Venture | 028d240 | 2018-03-09 15:37:45 -0800 | [diff] [blame] | 1 | HOMEPAGE = "github.com/openbmc/phosphor-pid-control" |
| 2 | |
| 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dc7f21ccff0f672f2a7cd6f412ae627d" |
| 5 | |
| 6 | SUMMARY = "Phosphor PID Fan Control" |
| 7 | DESCRIPTION = "Fan Control" |
| 8 | PR = "r1" |
| 9 | |
| 10 | SRC_URI = "git://github.com/openbmc/phosphor-pid-control" |
| 11 | SRCREV = "7494ce0bdd5f707b8e07d907e2202df0f3426da0" |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | inherit autotools pkgconfig |
| 15 | inherit pythonnative |
| 16 | |
| 17 | inherit phosphor-pid-control |
| 18 | inherit obmc-phosphor-ipmiprovider-symlink |
| 19 | |
| 20 | # Each platform will need a service file that starts |
| 21 | # at an appropriate time per system. For instance, if |
| 22 | # your system relies on passive dbus for fans or other |
| 23 | # sensors then it may be prudent to wait for all of them. |
| 24 | |
| 25 | DEPENDS += "autoconf-archive-native" |
| 26 | DEPENDS += "python-pyyaml-native" |
| 27 | DEPENDS += "python-mako-native" |
| 28 | DEPENDS += "sdbusplus" |
| 29 | DEPENDS += "phosphor-logging" |
| 30 | DEPENDS += "libevdev" |
| 31 | DEPENDS += "libconfig" |
| 32 | |
| 33 | # We depend on someone providing their system's configuration. |
| 34 | DEPENDS += "virtual/phosphor-fans-sensor-inventory" |
| 35 | # We depend on this to be built first so we can build our providers. |
| 36 | DEPENDS += "phosphor-ipmi-host" |
| 37 | |
| 38 | RDEPENDS_${PN} += "sdbusplus phosphor-dbus-interfaces" |
| 39 | |
| 40 | FILES_${PN} = "${sbindir}/swampd ${sbindir}/setsensor" |
| 41 | |
| 42 | # TODO: Enable this once OEM routing is enabled. |
| 43 | #FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" |
| 44 | #FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}" |
| 45 | #FILES_${PN}_append = " ${libdir}/net-ipmid/lib*${SOLIBS}" |
| 46 | #FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.la" |
| 47 | |
| 48 | EXTRA_OECONF = "SENSOR_YAML_GEN=${STAGING_DIR_NATIVE}${sensor_datadir}/sensor-list.yaml \ |
| 49 | PID_YAML_GEN=${STAGING_DIR_NATIVE}${sensor_datadir}/pid-list.yaml \ |
| 50 | ZONE_YAML_GEN=${STAGING_DIR_NATIVE}${sensor_datadir}/zone-info.yaml" |
| 51 | |
| 52 | # TODO: Enable this once OEM routing is enabled. |
| 53 | #HOSTIPMI_PROVIDER_LIBRARY += "libmanualcmds.so" |