Jeremy Kerr | 49208ee | 2016-03-17 17:35:27 +0800 | [diff] [blame] | 1 | SUMMARY = "OpenBMC console daemon" |
| 2 | DESCRIPTION = "Daemon to handle UART console connections" |
| 3 | HOMEPAGE = "http://github.com/openbmc/obmc-console" |
| 4 | PR = "r1" |
| 5 | |
| 6 | inherit obmc-phosphor-license |
| 7 | inherit obmc-phosphor-systemd |
| 8 | inherit autotools |
| 9 | |
| 10 | TARGET_CFLAGS += "-fpic -O2" |
| 11 | |
| 12 | SRC_URI += "git://github.com/openbmc/obmc-console" |
Brad Bishop | 530eb73 | 2016-08-30 14:14:24 -0400 | [diff] [blame] | 13 | SRC_URI += "file://${PN}.conf" |
Jeremy Kerr | ed9fafd | 2016-04-12 13:10:12 +0800 | [diff] [blame] | 14 | |
Patrick Williams | 02d6f49 | 2016-08-31 09:40:02 -0500 | [diff] [blame] | 15 | SRCREV = "87e344cd6bd848f886e226c8d58ffe4da77ce4bc" |
Jeremy Kerr | 49208ee | 2016-03-17 17:35:27 +0800 | [diff] [blame] | 16 | |
Brad Bishop | 530eb73 | 2016-08-30 14:14:24 -0400 | [diff] [blame] | 17 | SYSTEMD_SERVICE_${PN} = " \ |
| 18 | ${PN}.service \ |
| 19 | ${PN}-ssh.socket \ |
| 20 | ${PN}-ssh@.service \ |
| 21 | " |
Jeremy Kerr | ed9fafd | 2016-04-12 13:10:12 +0800 | [diff] [blame] | 22 | |
Jeremy Kerr | 49208ee | 2016-03-17 17:35:27 +0800 | [diff] [blame] | 23 | do_install_append() { |
| 24 | install -m 0755 -d ${D}${sysconfdir} |
| 25 | install -m 0644 ${WORKDIR}/${PN}.conf ${D}${sysconfdir}/${PN}.conf |
Jeremy Kerr | 49208ee | 2016-03-17 17:35:27 +0800 | [diff] [blame] | 26 | } |
| 27 | |
| 28 | S = "${WORKDIR}/git" |