summaryrefslogtreecommitdiff
path: root/system/alpha/console
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-01-15 02:59:57 -0500
committerAli Saidi <saidi@eecs.umich.edu>2004-01-15 02:59:57 -0500
commitae7e8a46608572fcfc00241084cc215aa5bb9150 (patch)
tree5d4b54a9e1ec7e37e88406e0edf618d90468d122 /system/alpha/console
parentedd7e46eb89787103a5741350cd10be310129df8 (diff)
downloadgem5-ae7e8a46608572fcfc00241084cc215aa5bb9150.tar.xz
makefiles updated to make use of cross compile tools
console/Makefile: All tools are variables now palcode/Makefile: tool names changed to variables, can build palcode on zizzer
Diffstat (limited to 'system/alpha/console')
-rw-r--r--system/alpha/console/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/system/alpha/console/Makefile b/system/alpha/console/Makefile
index 4a5cba216..48a6288a3 100644
--- a/system/alpha/console/Makefile
+++ b/system/alpha/console/Makefile
@@ -7,6 +7,10 @@ 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)
+
dbmentry.o: dbmentry.s
$(AS) $(INCLUDES) -nointrinsics -o $*.o $*.s
@@ -18,12 +22,12 @@ printf.o: printf.c
$(CC) -g3 $(INCLUDES) -nointrinsics -o $*.o -c $*.c
paljtokern.s.o: paljtokern.s
- g++ -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtokern.s | \
- gas -m 21164 -o paljtokern.s.o
+ $(CXX) -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtokern.s | \
+ $(AS) -m 21164 -o paljtokern.s.o
paljtoslave.s.o: paljtoslave.s
- g++ -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \
- gas -m 21164 -o paljtoslave.s.o
+ $(CXX) -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \
+ $(AS) -m 21164 -o paljtoslave.s.o
paljtokern.c: paljtokern.s.o
echo 'unsigned int palJToKern[] = {' > paljtokern.c