Build updates.
committer: mfx <mfx> 1034620929 +0000
This commit is contained in:
+9
-12
@@ -80,7 +80,6 @@ APP_I386 = perl -w $(srcdir)/scripts/app_i386.pl
|
|||||||
BIN2H = perl -w $(srcdir)/scripts/bin2h.pl
|
BIN2H = perl -w $(srcdir)/scripts/bin2h.pl
|
||||||
BRANDELF = perl -w $(srcdir)/scripts/brandelf.pl
|
BRANDELF = perl -w $(srcdir)/scripts/brandelf.pl
|
||||||
O2BIN = perl -w $(srcdir)/scripts/o2bin.pl
|
O2BIN = perl -w $(srcdir)/scripts/o2bin.pl
|
||||||
##SETFOLD = /bin/sh $(srcdir)/scripts/setfold.sh
|
|
||||||
##STRIPELF = perl -w $(srcdir)/scripts/stripelf.pl
|
##STRIPELF = perl -w $(srcdir)/scripts/stripelf.pl
|
||||||
STRIPELF = ./util/sstrip/sstrip
|
STRIPELF = ./util/sstrip/sstrip
|
||||||
|
|
||||||
@@ -94,25 +93,23 @@ CC_LINUX = gcc -Os -march=i386 -mcpu=i386 -malign-functions=0 -malign-jumps=0
|
|||||||
# Specifying -mcpu=i586 inhibits use of 'leave', which costs 2 bytes per subr
|
# Specifying -mcpu=i586 inhibits use of 'leave', which costs 2 bytes per subr
|
||||||
#CC_LINUX = gcc -Os -march=i386 -mcpu=i586 -malign-functions=0 -malign-jumps=0 -malign-loops=0 $(CC_LINUX_CFLAGS)
|
#CC_LINUX = gcc -Os -march=i386 -mcpu=i586 -malign-functions=0 -malign-jumps=0 -malign-loops=0 $(CC_LINUX_CFLAGS)
|
||||||
|
|
||||||
|
# Motorola 68000
|
||||||
|
CPP_M68K = gcc -I$(UCL_UPX) -I$(srcdir) -E -x assembler-with-cpp -Wall -Wp,-P,-C,-traditional
|
||||||
|
APP_M68K = perl -w $(srcdir)/scripts/app_m68k.pl
|
||||||
ifeq (1,1)
|
ifeq (1,1)
|
||||||
# Preprocessor for the a68k 68000-assembler.
|
# a68k 68000-assembler
|
||||||
CPP_M68K = gcc -I$(UCL_UPX) -E -x assembler-with-cpp -Wall -Wp,-P,-C,-traditional -D__A68K__
|
CPP_M68K += -D__A68K__
|
||||||
##CPP_M68K = cpp -I$(UCL_UPX) -x assembler-with-cpp -P -C -traditional -nostdinc -D__A68K__
|
ASM_M68K = a68k -q -x
|
||||||
APP_M68K = perl -w $(srcdir)/scripts/app_m68k.pl
|
|
||||||
ASM_M68K = a68k -q -x
|
|
||||||
else
|
else
|
||||||
# Preprocessor for the asl 68000-assembler.
|
# asl 68000-assembler
|
||||||
CPP_M68K = gcc -I$(UCL_UPX) -E -x assembler-with-cpp -Wall -Wp,-P,-C,-traditional -D__ASL__
|
CPP_M68K += -D__ASL__
|
||||||
APP_M68K = perl -w $(srcdir)/scripts/app_m68k.pl
|
ASM_M68K = sh $(srcdir)/scripts/asl_m68k.sh
|
||||||
ASM_M68K = sh $(srcdir)/scripts/asl_m68k.sh
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# MIPS R3000
|
# MIPS R3000
|
||||||
CPP_MR3K = gcc -I$(UCL_UPX) -I$(srcdir) -E -x assembler-with-cpp -Wall -Wp,-P,-C,-traditional
|
CPP_MR3K = gcc -I$(UCL_UPX) -I$(srcdir) -E -x assembler-with-cpp -Wall -Wp,-P,-C,-traditional
|
||||||
APP_MR3K = perl -w $(srcdir)/scripts/app_mr3k.pl
|
APP_MR3K = perl -w $(srcdir)/scripts/app_mr3k.pl
|
||||||
ASM_MR3K = asm5900 --nologo -q
|
ASM_MR3K = asm5900 --nologo -q
|
||||||
#APP_MR3K = perl -w $(srcdir)/scripts/app_mr3k.pl
|
|
||||||
#ASM_MR3K = asm5900 --nologo -q -I$(UCL_UPX) -I$(srcdir)
|
|
||||||
|
|
||||||
|
|
||||||
# /***********************************************************************
|
# /***********************************************************************
|
||||||
|
|||||||
+4
-4
@@ -30,7 +30,7 @@
|
|||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
#include "mr3k/macros.ash"
|
#include <mr3k/macros.ash>
|
||||||
|
|
||||||
do_regs MACRO _w
|
do_regs MACRO _w
|
||||||
_w at,0(sp)
|
_w at,0(sp)
|
||||||
@@ -104,13 +104,13 @@ copyloop:
|
|||||||
; __PSXDECO0__
|
; __PSXDECO0__
|
||||||
; __PSXDECOZ__
|
; __PSXDECOZ__
|
||||||
; __PSXN2BD0__
|
; __PSXN2BD0__
|
||||||
#include "mr3k/n2b_d.ash"
|
#include <mr3k/n2b_d.ash>
|
||||||
; __PSXN2BDZ__
|
; __PSXN2BDZ__
|
||||||
; __PSXN2DD0__
|
; __PSXN2DD0__
|
||||||
#include "mr3k/n2d_d.ash"
|
#include <mr3k/n2d_d.ash>
|
||||||
; __PSXN2DDZ__
|
; __PSXN2DDZ__
|
||||||
; __PSXN2ED0__
|
; __PSXN2ED0__
|
||||||
#include "mr3k/n2e_d.ash"
|
#include <mr3k/n2e_d.ash>
|
||||||
; __PSXN2EDZ__
|
; __PSXN2EDZ__
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -470,11 +470,11 @@ cutpoint:
|
|||||||
#define d2 D3
|
#define d2 D3
|
||||||
|
|
||||||
#if defined(NRV2B)
|
#if defined(NRV2B)
|
||||||
# include "m68k/n2b_d.ash"
|
# include <m68k/n2b_d.ash>
|
||||||
#elif defined(NRV2D)
|
#elif defined(NRV2D)
|
||||||
# include "m68k/n2d_d.ash"
|
# include <m68k/n2d_d.ash>
|
||||||
#elif defined(NRV2E)
|
#elif defined(NRV2E)
|
||||||
# include "m68k/n2e_d.ash"
|
# include <m68k/n2e_d.ash>
|
||||||
#else
|
#else
|
||||||
# error
|
# error
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user