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 |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 14 | |
KennethWilke | 84f9c74 | 2016-02-17 13:24:04 -0600 | [diff] [blame] | 15 | DEPENDS += "glib-2.0 systemd" |
Norman James | a91766b | 2016-02-10 11:34:19 -0600 | [diff] [blame] | 16 | RDEPENDS_${PN} += "python-subprocess python-compression libsystemd" |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 17 | SRC_URI += "git://github.com/openbmc/skeleton" |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 18 | |
Patrick Williams | e0d4a8f | 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 | b8ea3ee | 2016-04-29 15:10:22 -0500 | [diff] [blame] | 23 | SRCREV = "d3e6edc748f026dcd68d20306a1cfe0e26df22a9" |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 24 | |
Brad Bishop | 59ca1fd | 2015-10-28 08:13:43 -0500 | [diff] [blame] | 25 | S = "${WORKDIR}" |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 26 | |
| 27 | do_compile() { |
Adriana Kobylak | 75b8b38 | 2015-10-29 11:14:29 -0500 | [diff] [blame] | 28 | oe_runmake -C git |
Patrick Williams | e0d4a8f | 2016-04-01 15:04:31 -0500 | [diff] [blame] | 29 | |
| 30 | # Remove deprecated files. |
| 31 | rm ${S}/git/bin/pflash |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 32 | } |
| 33 | |
| 34 | do_install() { |
Brad Bishop | 59ca1fd | 2015-10-28 08:13:43 -0500 | [diff] [blame] | 35 | source=${S}/git |
| 36 | |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 37 | install -d ${D}/${sbindir} ${D}${libdir} |
Adriana Kobylak | 75b8b38 | 2015-10-29 11:14:29 -0500 | [diff] [blame] | 38 | for i in ${source}/bin/*; do |
Adriana Kobylak | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 39 | install $i ${D}/${sbindir} |
| 40 | done |
Adriana Kobylak | 75b8b38 | 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 | 6161f45 | 2015-10-19 14:15:04 -0400 | [diff] [blame] | 44 | } |