From 4ed5e9a5ffa01b00de6b06694c84b122c8f90aa9 Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Wed, 26 Feb 2020 08:05:24 +0100 Subject: [PATCH] KLH10 workaround for console I/O problem. On some hardware and/or software, console I/O will sometimes hang. This is documented in a KLH10 makefile, with a workaround: # This is a known problem on some Linux systems with high performance # hardware. As far as I know, Ken has not found a fix for it. # # The workaround is to rebuild klh10 with a special configuration that # avoids the esoteric real-time-interrupt mechanisms. --- .cirrus.yml | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 43b7d26d..3384f9c6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -2,6 +2,7 @@ env: CIRRUS_CLONE_DEPTH: 1 ARCH: amd64 BASICS: yes + CONFFLAGS_USR: -DKLH10_CTYIO_INT=0 task: freebsd_instance: diff --git a/Makefile b/Makefile index b4a966f3..84604563 100644 --- a/Makefile +++ b/Makefile @@ -229,7 +229,7 @@ $(KLH10): ./autogen.sh; \ $(MKDIR) tmp; \ cd tmp; \ - export CONFFLAGS_USR=-DKLH10_DEV_DPTM03=0; \ + export CONFFLAGS_USR="-DKLH10_DEV_DPTM03=0 $$CONFFLAGS_USR"; \ ../configure --enable-lights --bindir="$(CURDIR)/build/klh10"; \ $(MAKE) -C bld-ks-its; \ $(MAKE) -C bld-ks-its install