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 |
| 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 | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 15 | |
| 16 | DEPENDS += "glib-2.0" |
Brad Bishop | 51c0f7d | 2015-10-19 14:22:57 -0400 | [diff] [blame] | 17 | RDEPENDS_${PN} += "python-subprocess python-tftpy" |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 18 | SRC_URI += "git://github.com/openbmc/skeleton" |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 19 | |
Adriana Kobylak | 75b8b38 | 2015-10-29 11:14:29 -0500 | [diff] [blame] | 20 | SRCREV = "597d49e68e8bf0ddedb2e01cbd3fb500ee1c22e3" |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 21 | |
Brad Bishop | 59ca1fd | 2015-10-28 08:13:43 -0500 | [diff] [blame] | 22 | S = "${WORKDIR}" |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 23 | |
| 24 | do_compile() { |
Adriana Kobylak | 75b8b38 | 2015-10-29 11:14:29 -0500 | [diff] [blame] | 25 | oe_runmake -C git |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 26 | } |
| 27 | |
| 28 | do_install() { |
Brad Bishop | 59ca1fd | 2015-10-28 08:13:43 -0500 | [diff] [blame] | 29 | source=${S}/git |
| 30 | |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 31 | install -d ${D}/${sbindir} ${D}${libdir} |
Adriana Kobylak | 75b8b38 | 2015-10-29 11:14:29 -0500 | [diff] [blame] | 32 | for i in ${source}/bin/*; do |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 33 | install $i ${D}/${sbindir} |
| 34 | done |
Adriana Kobylak | 75b8b38 | 2015-10-29 11:14:29 -0500 | [diff] [blame] | 35 | for i in ${source}/lib/*; do |
| 36 | install $i ${D}/${libdir} |
| 37 | done |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 38 | } |