diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2004-02-02 17:40:11 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2004-02-02 17:40:11 -0500 |
commit | 5d3149b69d42b28fef51d9137528937ba2c49141 (patch) | |
tree | 3e4d0e3e410aeae665b8f9318cf7d0119ccd438f /system/alpha/console/Makefile | |
parent | ae7e8a46608572fcfc00241084cc215aa5bb9150 (diff) | |
download | gem5-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/console/Makefile')
-rw-r--r-- | system/alpha/console/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/system/alpha/console/Makefile b/system/alpha/console/Makefile index 48a6288a3..5905fa9d2 100644 --- a/system/alpha/console/Makefile +++ b/system/alpha/console/Makefile @@ -7,10 +7,8 @@ INCLUDES = -I$(PALCODE) -I$(INCLUDEH) -I$(M5)/dev SOURDIR = ./ PALCODE = ../palcode INCLUDEH = ../h -AS=alpha-elf-as -CC=alpha-elf-gcc -CXX=alpha-elf-$(CXX) - +CC=gcc +AS=gas dbmentry.o: dbmentry.s $(AS) $(INCLUDES) -nointrinsics -o $*.o $*.s @@ -22,12 +20,12 @@ printf.o: printf.c $(CC) -g3 $(INCLUDES) -nointrinsics -o $*.o -c $*.c paljtokern.s.o: paljtokern.s - $(CXX) -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtokern.s | \ - $(AS) -m 21164 -o paljtokern.s.o + g++ -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtokern.s | \ + gas -m 21164 -o paljtokern.s.o paljtoslave.s.o: paljtoslave.s - $(CXX) -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \ - $(AS) -m 21164 -o paljtoslave.s.o + g++ -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \ + gas -m 21164 -o paljtoslave.s.o paljtokern.c: paljtokern.s.o echo 'unsigned int palJToKern[] = {' > paljtokern.c |