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 | |
Matthew Barth | 3cc6f40 | 2016-09-26 16:26:27 -0500 | [diff] [blame] | 12 | DEPENDS += "autoconf-archive-native" |
| 13 | |
Jeremy Kerr | 49208ee | 2016-03-17 17:35:27 +0800 | [diff] [blame] | 14 | SRC_URI += "git://github.com/openbmc/obmc-console" |
Brad Bishop | 530eb73 | 2016-08-30 14:14:24 -0400 | [diff] [blame] | 15 | SRC_URI += "file://${PN}.conf" |
Jeremy Kerr | ed9fafd | 2016-04-12 13:10:12 +0800 | [diff] [blame] | 16 | |
Patrick Williams | 9f3cc92 | 2016-09-28 08:00:04 -0500 | [diff] [blame] | 17 | SRCREV = "44580de4e2170c8ee06dbf401315d3acfcf52b22" |
Jeremy Kerr | 49208ee | 2016-03-17 17:35:27 +0800 | [diff] [blame] | 18 | |
Brad Bishop | 530eb73 | 2016-08-30 14:14:24 -0400 | [diff] [blame] | 19 | SYSTEMD_SERVICE_${PN} = " \ |
| 20 | ${PN}.service \ |
| 21 | ${PN}-ssh.socket \ |
| 22 | ${PN}-ssh@.service \ |
| 23 | " |
Jeremy Kerr | ed9fafd | 2016-04-12 13:10:12 +0800 | [diff] [blame] | 24 | |
Jeremy Kerr | 49208ee | 2016-03-17 17:35:27 +0800 | [diff] [blame] | 25 | do_install_append() { |
| 26 | install -m 0755 -d ${D}${sysconfdir} |
| 27 | install -m 0644 ${WORKDIR}/${PN}.conf ${D}${sysconfdir}/${PN}.conf |
Jeremy Kerr | 49208ee | 2016-03-17 17:35:27 +0800 | [diff] [blame] | 28 | } |
| 29 | |
| 30 | S = "${WORKDIR}/git" |