summaryrefslogtreecommitdiff
path: root/system/alpha/palcode/Makefile
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-02-02 17:40:11 -0500
committerAli Saidi <saidi@eecs.umich.edu>2004-02-02 17:40:11 -0500
commit5d3149b69d42b28fef51d9137528937ba2c49141 (patch)
tree3e4d0e3e410aeae665b8f9318cf7d0119ccd438f /system/alpha/palcode/Makefile
parentae7e8a46608572fcfc00241084cc215aa5bb9150 (diff)
downloadgem5-5d3149b69d42b28fef51d9137528937ba2c49141.tar.xz
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
Diffstat (limited to 'system/alpha/palcode/Makefile')
-rw-r--r--system/alpha/palcode/Makefile14
1 files changed, 10 insertions, 4 deletions
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
+