MacOS Build Improvement

Build script updated to improve compatibility with MacOS.

Credit to Fredrik Axtelius for this.
This commit is contained in:
Wayne Warthen
2020-04-20 14:59:27 -07:00
parent 1b3e85f0fb
commit aac4a51f23
3 changed files with 3 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ romfmt=wbw_rom${romsize}
outdir=../../Binary
echo "creating empty rom disk of size $romsize in $blankfile"
LANG=en_US.US-ASCII tr '\000' '\345' </dev/zero | dd of=$blankfile bs=1024 count=`expr $romsize - 128`
LC_CTYPE=en_US.US-ASCII tr '\000' '\345' </dev/zero | dd of=$blankfile bs=1024 count=`expr $romsize - 128`
cat <<- EOF > build.inc
; RomWBW Configured for $platform $config $timestamp

View File

@@ -2,4 +2,4 @@
#DEFINE RMN 1
#DEFINE RUP 0
#DEFINE RTP 0
#DEFINE BIOSVER "3.1-pre.6"
#DEFINE BIOSVER "3.1-pre.7"

View File

@@ -3,5 +3,5 @@ rmn equ 1
rup equ 0
rtp equ 0
biosver macro
db "3.1-pre.6"
db "3.1-pre.7"
endm