mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 18:53:13 +01:00
(From OE-Core rev: d6d77bf96489c9d8605976ed1d13860a35184b22) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
36 lines
891 B
BlitzBasic
36 lines
891 B
BlitzBasic
SUMMARY = "Start the program if the specified terminal device is available."
|
|
DESCRIPTION = "ttyrun is typically used to prevent a respawn through the \
|
|
init(8) program when a terminal is not available."
|
|
HOMEPAGE = "https://github.com/ibm-s390-linux/s390-tools"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=f5118f167b055bfd7c3450803f1847af"
|
|
|
|
SRC_URI = "git://github.com/ibm-s390-linux/s390-tools;protocol=https;branch=master"
|
|
SRCREV = "793c037ded98cd001075cdb55a9c58e122380256"
|
|
|
|
CVE_PRODUCT = "s390-tools"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
EXTRA_OEMAKE = "\
|
|
V=1 \
|
|
CC="${CC}" \
|
|
DISTRELEASE=${PR} \
|
|
"
|
|
|
|
# We just want ttyrun and not the rest of s390-utils
|
|
|
|
do_configure() {
|
|
oe_runmake -C ${S}/iucvterm/src clean
|
|
}
|
|
|
|
do_compile() {
|
|
oe_runmake -C ${S}/iucvterm/src ttyrun
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${sbindir}
|
|
install ${S}/iucvterm/src/ttyrun ${D}${sbindir}
|
|
}
|