mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
MacOS Build Improvement
Build script updated to improve compatibility with MacOS. Credit to Fredrik Axtelius for this.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user