Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 1 | SUMMARY = "Temp placeholder for skeleton function" |
| 2 | DESCRIPTION = "Temp placeholder for skeleton repository" |
| 3 | HOMEPAGE = "http://github.com/openbmc/skeleton" |
| 4 | PR = "r1" |
| 5 | |
| 6 | inherit obmc-phosphor-license |
| 7 | inherit obmc-phosphor-systemd |
Brad Bishop | c88c37c | 2015-10-21 20:24:23 -0400 | [diff] [blame] | 8 | inherit obmc-phosphor-chassis-mgmt |
Brad Bishop | c88c37c | 2015-10-21 20:24:23 -0400 | [diff] [blame] | 9 | inherit obmc-phosphor-fan-mgmt |
| 10 | inherit obmc-phosphor-flash-mgmt |
| 11 | inherit obmc-phosphor-policy-mgmt |
| 12 | inherit obmc-phosphor-sensor-mgmt |
| 13 | inherit obmc-phosphor-system-mgmt |
Brad Bishop | a9a69fa | 2016-06-14 21:33:22 -0400 | [diff] [blame^] | 14 | inherit pythonnative |
| 15 | inherit python-dir |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 16 | |
KennethWilke | 84f9c74 | 2016-02-17 13:24:04 -0600 | [diff] [blame] | 17 | DEPENDS += "glib-2.0 systemd" |
Norman James | a91766b | 2016-02-10 11:34:19 -0600 | [diff] [blame] | 18 | RDEPENDS_${PN} += "python-subprocess python-compression libsystemd" |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 19 | SRC_URI += "git://github.com/openbmc/skeleton" |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 20 | |
Brad Bishop | a9a69fa | 2016-06-14 21:33:22 -0400 | [diff] [blame^] | 21 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/*" |
| 22 | |
Patrick Williams | e0d4a8f | 2016-04-01 15:04:31 -0500 | [diff] [blame] | 23 | # RDEPEND on pflash if the openpower-pflash machine feature is set. |
| 24 | PACKAGECONFIG ??= "${@bb.utils.contains('MACHINE_FEATURES', 'openpower-pflash', 'openpower-pflash', '', d)}" |
| 25 | PACKAGECONFIG[openpower-pflash] = ",,,pflash" |
| 26 | |
Brad Bishop | a9a69fa | 2016-06-14 21:33:22 -0400 | [diff] [blame^] | 27 | SRCREV = "40187443840d0e419c13391b2091fda29d63dea4" |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 28 | |
Brad Bishop | 59ca1fd | 2015-10-28 08:13:43 -0500 | [diff] [blame] | 29 | S = "${WORKDIR}" |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 30 | |
Brad Bishop | a9a69fa | 2016-06-14 21:33:22 -0400 | [diff] [blame^] | 31 | # needed to invoke setuptools |
| 32 | export STAGING_INCDIR |
| 33 | export STAGING_LIBDIR |
| 34 | export BUILD_SYS |
| 35 | export HOST_SYS |
| 36 | export PYTHON_SITEPACKAGES_DIR |
Patrick Williams | e0d4a8f | 2016-04-01 15:04:31 -0500 | [diff] [blame] | 37 | |
Brad Bishop | a9a69fa | 2016-06-14 21:33:22 -0400 | [diff] [blame^] | 38 | do_compile() { |
| 39 | oe_runmake -C git PYTHON=${PYTHON} |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 40 | } |
| 41 | |
| 42 | do_install() { |
Brad Bishop | a9a69fa | 2016-06-14 21:33:22 -0400 | [diff] [blame^] | 43 | oe_runmake -C git install \ |
| 44 | PYTHON=${PYTHON} \ |
| 45 | DESTDIR=${D} \ |
| 46 | PREFIX=/usr |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 47 | } |