From d082c95331008eed05bbabfdc3fae56e28750e14 Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Tue, 1 Nov 2016 09:49:56 +0100 Subject: [PATCH] Build KLH10. --- .gitmodules | 3 +++ .travis.yml | 2 ++ Makefile | 13 +++++++++++++ build/klh10/.gitignore | 14 ++++++++++++++ tools/klh10 | 1 + 5 files changed, 33 insertions(+) create mode 100644 build/klh10/.gitignore create mode 160000 tools/klh10 diff --git a/.gitmodules b/.gitmodules index 75173652..b831dd67 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "tools/dasm"] path = tools/dasm url = https://github.com/larsbrinkhoff/pdp10-its-disassembler +[submodule "tools/klh10"] + path = tools/klh10 + url = https://github.com/Rhialto/klh10 diff --git a/.travis.yml b/.travis.yml index 9fcbe668..b51ed8a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,10 @@ language: c sudo: required install: + - sudo add-apt-repository ppa:dns/gnu -y - sudo apt-get update -myq - sudo apt-get install -my simh expect + - sudo apt-get install --only-upgrade autoconf script: make notifications: email: lars@nocrew.org diff --git a/Makefile b/Makefile index 53bf814c..7c554198 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ RAM = bin/boot/ram.262 NSALV = bin/boot/salv.rp06 DSKDMP = bin/boot/dskdmp.rp06 +KLH10=${PWD}/tools/klh10/tmp/bld-ks-its/kn10-ks-its ITSTAR=${PWD}/tools/itstar/itstar WRITETAPE=${PWD}/tools/tapeutils/tapewrite @@ -30,6 +31,18 @@ out/dskdmp.tape: $(WRITETAPE) $(RAM) $(DSKDMP) mkdir -p out $(WRITETAPE) -n 2560 $@ $(RAM) $(DSKDMP) +build/klh10/stamp: $(KLH10) + touch $< + +$(KLH10): + cd tools/klh10; \ + ./autogen.sh; \ + mkdir tmp; \ + cd tmp; \ + ../configure --bindir=${PWD}/build/klh10; \ + make base-ks-its; \ + make -C bld-ks-its install + $(ITSTAR): cd tools/itstar; make diff --git a/build/klh10/.gitignore b/build/klh10/.gitignore new file mode 100644 index 00000000..645d1fdb --- /dev/null +++ b/build/klh10/.gitignore @@ -0,0 +1,14 @@ +APR.TIMEBASE +dpimp +dprpxx +dptm03 +enaddr +flushed +kn10-ks-its +tapedd +tmp +udlconv +uexbconv +vdkfmt +wfconv +wxtest diff --git a/tools/klh10 b/tools/klh10 new file mode 160000 index 00000000..dea80808 --- /dev/null +++ b/tools/klh10 @@ -0,0 +1 @@ +Subproject commit dea808081877968bcfad41ff076d50faa551e917