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 |
| 9 | inherit obmc-phosphor-event-mgmt |
| 10 | inherit obmc-phosphor-fan-mgmt |
| 11 | inherit obmc-phosphor-flash-mgmt |
| 12 | inherit obmc-phosphor-policy-mgmt |
| 13 | inherit obmc-phosphor-sensor-mgmt |
| 14 | inherit obmc-phosphor-system-mgmt |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 15 | |
| 16 | DEPENDS += "glib-2.0" |
Brad Bishop | d1e4e3f | 2015-10-19 14:22:57 -0400 | [diff] [blame] | 17 | RDEPENDS_${PN} += "python-subprocess python-tftpy" |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 18 | SRC_URI += "git://github.com/openbmc/skeleton" |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 19 | |
Norman James | b342279 | 2015-10-20 16:28:16 -0500 | [diff] [blame] | 20 | SRCREV = "47750bc1c06aebda189f2e8d7862c9d9b9ffe35b" |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 21 | |
Brad Bishop | b264b81 | 2015-10-28 08:13:43 -0500 | [diff] [blame] | 22 | S = "${WORKDIR}" |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 23 | |
| 24 | do_compile() { |
Brad Bishop | b264b81 | 2015-10-28 08:13:43 -0500 | [diff] [blame] | 25 | oe_runmake -C git all |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 26 | } |
| 27 | |
| 28 | do_install() { |
Brad Bishop | b264b81 | 2015-10-28 08:13:43 -0500 | [diff] [blame] | 29 | source=${S}/git |
| 30 | |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 31 | install -d ${D}/${sbindir} ${D}${libdir} |
Brad Bishop | b264b81 | 2015-10-28 08:13:43 -0500 | [diff] [blame] | 32 | for i in ${source}/bin/*.py ${source}/bin/*.exe; do |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 33 | install $i ${D}/${sbindir} |
| 34 | done |
Brad Bishop | b264b81 | 2015-10-28 08:13:43 -0500 | [diff] [blame] | 35 | install ${source}/bin/libopenbmc_intf.so ${D}/${libdir} |
Adriana Kobylak | fa7c212 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 36 | } |