From 5d3149b69d42b28fef51d9137528937ba2c49141 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Mon, 2 Feb 2004 17:40:11 -0500 Subject: Added platfrom_m5 - Our hacked up tsunami palcode and modified palcode makefile to that end. Additionally made a change in console to preserve t7 on call back because linux uses it for the "current" pointer. console/Makefile: Changed makefile back to using gcc and gas rather then trying to cross-compile for now console/console.c: Put code in to save t7 on CallBackFixup() call and changed the system type to Tsunami palcode/Makefile: updated palcode makefile to have targets for tlaser and tsunami --- system/alpha/palcode/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'system/alpha/palcode/Makefile') diff --git a/system/alpha/palcode/Makefile b/system/alpha/palcode/Makefile index 071c8bc39..14a700c73 100644 --- a/system/alpha/palcode/Makefile +++ b/system/alpha/palcode/Makefile @@ -11,9 +11,10 @@ CFLAGS=-I . -E -P -D SIMOS -D BUILD_PALCODE -nostdinc -nostdinc++ -x c++ GASFLAGS=-m21164 LDFLAGS=-Ttext 0x4000 -SOURCES=osfpal.s platform_tlaser.s +SOURCES=osfpal.s platform_tlaser.s platform_m5.s PREPROC := $(SOURCES:.s=.i) -OBJS := $(SOURCES:.s=.o) +TLOBJS = osfpal.o platform_tlaser.o +TSOBJS = osfpal.o platform_m5.o %.i: %.s $(CC) $(CFLAGS) $< > $@ @@ -21,9 +22,14 @@ OBJS := $(SOURCES:.s=.o) %.o: %.i $(GAS) $(GASFLAGS) -o $@ $< +all: tlaser tsunami + +tlaser: $(PREPROC) $(TLOBJS) + $(LD) $(LDFLAGS) -o tl_osfpal $(TLOBJS) -all: $(PREPROC) $(OBJS) - $(LD) $(LDFLAGS) -o osfpal $(OBJS) +tsunami: $(PREPROC) $(TSOBJS) + $(LD) $(LDFLAGS) -o ts_osfpal $(TSOBJS) clean: rm -f *.o *.i osfpal + -- cgit v1.2.3