Update for mescc-tools-0.5.

* build-aux/build-mes.sh (HEX2FLAGS): Remove = from flags.
* build.sh (HEX2FLAGS): Likewise.
* module/mescc/mescc.scm (hex2->elf): Likewise.
This commit is contained in:
Jan Nieuwenhuizen 2018-06-16 06:38:05 +02:00
parent ebe6a1ea81
commit a27770389e
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273
3 changed files with 11 additions and 11 deletions

View file

@ -44,12 +44,12 @@ set -e
M1FLAGS=${M1FLAGS-"
--LittleEndian
--Architecture=1
--Architecture 1
"}
HEX2FLAGS=${HEX2FLAGS-"
--LittleEndian
--Architecture=1
--BaseAddress=0x1000000
--Architecture 1
--BaseAddress 0x1000000
"}
if [ -d "$MES_SEED" ]; then
@ -65,7 +65,7 @@ if [ -d "$MES_SEED" ]; then
-o lib/x86-mes/libc.o
$M1\
--LittleEndian\
--Architecture=1\
--Architecture 1\
-f lib/x86-mes/x86.M1\
-f $MES_SEED/x86-mes/mes.S\
-o src/mes.o
@ -76,7 +76,7 @@ if [ -d "$MES_SEED" ]; then
-o src/mes.S.blood-elf
$M1\
--LittleEndian\
--Architecture=1\
--Architecture 1\
-f src/mes.S.blood-elf\
-o src/mes.o.blood-elf
$HEX2\

View file

@ -68,12 +68,12 @@ MESCCLAGS=${MESCCFLAGS-"
"}
M1FLAGS=${M1FLAGS-"
--LittleEndian
--Architecture=1
--Architecture 1
"}
HEX2FLAGS=${HEX2FLAGS-"
--LittleEndian
--Architecture=1
--BaseAddress=0x1000000
--Architecture 1
--BaseAddress 0x1000000
"}
if [ -n "$GUILE" ]; then

View file

@ -154,7 +154,7 @@
(M1 (or (getenv "M1") "M1"))
(command `(,M1
"--LittleEndian"
"--Architecture=1"
"--Architecture" "1"
"-f" ,(arch-find options "x86.M1")
,@(append-map (cut list "-f" <>) M1-files)
"-o" ,hex2-file-name)))
@ -172,8 +172,8 @@
(hex2 (or (getenv "HEX2") "hex2"))
(command `(,hex2
"--LittleEndian"
"--Architecture=1"
"--BaseAddress=0x1000000"
"--Architecture" "1"
"--BaseAddress" "0x1000000"
"-f" ,(arch-find options "elf32-header.hex2")
"-f" ,(arch-find options "crt1.o")
,@(append-map (cut list "-f" <>) hex2-files)