Adriana Kobylak | fa7c212 | 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 | 5a4b953 | 2015-10-21 20:24:23 -0400 | [diff] [blame] | 8 | inherit obmc-phosphor-chassis-mgmt |
Brad Bishop | 5a4b953 | 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 |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 14 | |
KennethWilke | 08c1089 | 2016-02-17 13:24:04 -0600 | [diff] [blame] | 15 | DEPENDS += "glib-2.0 systemd" |
Norman James | 83e4c04 | 2016-02-10 11:34:19 -0600 | [diff] [blame] | 16 | RDEPENDS_${PN} += "python-subprocess python-compression libsystemd" |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 17 | SRC_URI += "git://github.com/openbmc/skeleton" |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 18 | |
Patrick Williams | aaf98c8 | 2016-04-01 15:04:31 -0500 | [diff] [blame] | 19 | # RDEPEND on pflash if the openpower-pflash machine feature is set. |
| 20 | PACKAGECONFIG ??= "${@bb.utils.contains('MACHINE_FEATURES', 'openpower-pflash', 'openpower-pflash', '', d)}" |
| 21 | PACKAGECONFIG[openpower-pflash] = ",,,pflash" |
| 22 | |
Adriana Kobylak | 059bb1a | 2016-05-24 16:22:47 -0500 | [diff] [blame] | 23 | SRCREV = "2f9ee83356fba3f6f843bf2584f3e7e95763ec98" |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 24 | |
Brad Bishop | b264b81 | 2015-10-28 08:13:43 -0500 | [diff] [blame] | 25 | S = "${WORKDIR}" |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 26 | |
| 27 | do_compile() { |
Adriana Kobylak | 9bc34a4 | 2015-10-29 11:14:29 -0500 | [diff] [blame] | 28 | oe_runmake -C git |
Patrick Williams | aaf98c8 | 2016-04-01 15:04:31 -0500 | [diff] [blame] | 29 | |
| 30 | # Remove deprecated files. |
| 31 | rm ${S}/git/bin/pflash |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 32 | } |
| 33 | |
| 34 | do_install() { |
Brad Bishop | b264b81 | 2015-10-28 08:13:43 -0500 | [diff] [blame] | 35 | source=${S}/git |
| 36 | |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 37 | install -d ${D}/${sbindir} ${D}${libdir} |
Adriana Kobylak | 9bc34a4 | 2015-10-29 11:14:29 -0500 | [diff] [blame] | 38 | for i in ${source}/bin/*; do |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 39 | install $i ${D}/${sbindir} |
| 40 | done |
Adriana Kobylak | 9bc34a4 | 2015-10-29 11:14:29 -0500 | [diff] [blame] | 41 | for i in ${source}/lib/*; do |
| 42 | install $i ${D}/${libdir} |
| 43 | done |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 44 | } |