blob: 390ea720ab1618558a6afeb01f40cd82e3ceb359 [file] [log] [blame]
Deepak Kodihallia9cbc7e2017-03-24 07:44:16 -05001SUMMARY = "OpenPOWER OCC controller"
2DESCRIPTION = "Application to contol the OpenPOWER On-Chip-Controller"
3HOMEPAGE = "https://github.com/openbmc/openpower-occ-control"
4PR = "r1"
5
Deepak Kodihallib9c004f2017-04-06 23:50:34 -05006inherit autotools \
7 pkgconfig \
Vishwanatha Subbannaf434c6e2017-05-04 09:45:29 -05008 obmc-phosphor-dbus-service \
9 pythonnative
Deepak Kodihallia9cbc7e2017-03-24 07:44:16 -050010
11require ${PN}.inc
12
Vishwanatha Subbanna12767a52017-07-07 02:55:58 -050013DBUS_SERVICE_${PN} += "org.open_power.OCC.Control.service"
Deepak Kodihallia9cbc7e2017-03-24 07:44:16 -050014
Vishwanatha Subbanna11631c72017-08-09 15:00:34 +053015DEPENDS += "virtual/${PN}-config-native"
Deepak Kodihallia9cbc7e2017-03-24 07:44:16 -050016DEPENDS += " \
17 sdbusplus \
18 sdbusplus-native \
19 phosphor-logging \
20 openpower-dbus-interfaces \
Vishwanatha Subbanna12767a52017-07-07 02:55:58 -050021 phosphor-dbus-interfaces \
Deepak Kodihallia9cbc7e2017-03-24 07:44:16 -050022 openpower-dbus-interfaces-native \
23 autoconf-archive-native \
24 "
25
26RDEPENDS_${PN} += " \
27 sdbusplus \
28 phosphor-logging \
29 openpower-dbus-interfaces \
Vishwanatha Subbanna12767a52017-07-07 02:55:58 -050030 phosphor-dbus-interfaces \
Deepak Kodihallia9cbc7e2017-03-24 07:44:16 -050031 "
32
Vishwanatha Subbanna11631c72017-08-09 15:00:34 +053033EXTRA_OECONF = "YAML_PATH=${STAGING_DATADIR_NATIVE}/${PN}"
Lei YU093d51d2017-07-20 15:25:28 +080034EXTRA_OECONF_append = "${@bb.utils.contains('OBMC_MACHINE_FEATURES', 'i2c-occ', ' --enable-i2c-occ', '', d)}"
35
Deepak Kodihallia9cbc7e2017-03-24 07:44:16 -050036S = "${WORKDIR}/git"