summaryrefslogtreecommitdiff
path: root/system/alpha/console/Makefile
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-08-01 00:50:26 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-08-01 00:50:26 -0400
commit29c5218e4faf2b059a00b0864e6763ee18143d56 (patch)
tree447173edf5647256a85e44ecf9471b46ce6d7361 /system/alpha/console/Makefile
parentae3ba616655fac648f379c9e42014ed265abcd6d (diff)
downloadgem5-29c5218e4faf2b059a00b0864e6763ee18143d56.tar.xz
changed to generate tlaser and tsunami console code at different
addresses so the uncachable bit is set for tsunami. console/Makefile: console/console.c: changed to generate tlaser and tsunami console code at different addresses
Diffstat (limited to 'system/alpha/console/Makefile')
-rw-r--r--system/alpha/console/Makefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/system/alpha/console/Makefile b/system/alpha/console/Makefile
index 1020bfb39..c1d783c24 100644
--- a/system/alpha/console/Makefile
+++ b/system/alpha/console/Makefile
@@ -20,14 +20,17 @@ ifndef M5
$(error The M5 variable must be set)
endif
-all: console
+all: console_tl console_ts
dbmentry.o: dbmentry.s
g++ -I ../h -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ dbmentry.s | \
$(AS) -m 21164 -o dbmentry.s.o
-console.o: console.c
- $(CC) -g3 $(INCLUDES) -D _TIME_T -nostdinc++ -o $*.o -c $*.c
+console_ts.o: console.c
+ $(CC) -g3 $(INCLUDES) -D _TIME_T -D TSUNAMI -nostdinc++ -o console_ts.o -c console.c
+
+console_tl.o: console.c
+ $(CC) -g3 $(INCLUDES) -D _TIME_T -D TLASER -nostdinc++ -o console_tl.o -c console.c
printf.o: printf.c
$(CC) -g3 $(INCLUDES) -nostdinc++ -o $*.o -c $*.c
@@ -40,9 +43,13 @@ paljtoslave.s.o: paljtoslave.s
g++ -I ../h -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \
$(AS) -m 21164 -o paljtoslave.s.o
-console: console.o dbmentry.o printf.o paljtokern.s.o paljtoslave.s.o
- $(LD) -o console -N -Ttext $(DBMENTRY) -non_shared \
- dbmentry.s.o console.o printf.o paljtokern.s.o paljtoslave.s.o -lc
+console_ts: console_ts.o dbmentry.o printf.o paljtokern.s.o paljtoslave.s.o
+ $(LD) -o console_ts -N -Ttext $(DBMENTRY) -non_shared \
+ dbmentry.s.o console_ts.o printf.o paljtokern.s.o paljtoslave.s.o -lc
+
+console_tl: console_tl.o dbmentry.o printf.o paljtokern.s.o paljtoslave.s.o
+ $(LD) -o console_tl -N -Ttext $(DBMENTRY) -non_shared \
+ dbmentry.s.o console_tl.o printf.o paljtokern.s.o paljtoslave.s.o -lc
install: console
scp console zizzer.eecs.umich.edu:/z/m5/system/testing/binaries/console