From 58167e474a70b7e03e8daa7df38126a417e22e8b Mon Sep 17 00:00:00 2001 From: Greg Haerr Date: Thu, 27 Jul 2023 21:50:37 -0700 Subject: [PATCH] [build] Update build scripts --- build.sh | 1 + buildimages.sh | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 0d79cd018..9ad3563ff 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,6 @@ #!/bin/bash +# This build script is called in main.yml by GitHub Continuous Integration # Full build (including the cross tool chain) # Arguments: diff --git a/buildimages.sh b/buildimages.sh index e2fcac04e..293b8475f 100755 --- a/buildimages.sh +++ b/buildimages.sh @@ -1,12 +1,15 @@ # -# Build all ELKS images +# This script is used to build all ELKS images outside Github CI cleanup() { make kclean rm -f bootblocks/*.o rm -f elkscmd/sys_utils/clock.o + rm -f elkscmd/sys_utils/ps.o + rm -f elkscmd/sys_utils/meminfo.o rm -f elkscmd/basic/*.o + rm -f elkscmd/nano-X/*/*.o } # build PC-98 versions @@ -23,6 +26,15 @@ build_pc98() mv image/fd1440.img image/fd1440-pc98.img } +# build 8018X image +build_8018x() +{ + cleanup + cp 8018x.config .config + make + mv image/romfs.bin image/romfs-8018x.bin +} + # build IBM PC versions build_ibm() { @@ -38,6 +50,7 @@ build_ibm() make clean build_ibm build_pc98 +build_8018x cp ibmpc-1440.config .config cleanup