summaryrefslogtreecommitdiff
path: root/system/alpha/palcode/Makefile
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/palcode/Makefile
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/palcode/Makefile')
-rw-r--r--system/alpha/palcode/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/alpha/palcode/Makefile b/system/alpha/palcode/Makefile
index 416d347dc..071c8bc39 100644
--- a/system/alpha/palcode/Makefile
+++ b/system/alpha/palcode/Makefile
@@ -3,15 +3,15 @@
#19 December 2003 - Ali Saidi
-GAS = as
-CC = g++
-LD = ld
+GAS = alpha-elf-as
+CC = alpha-elf-g++
+LD = alpha-elf-ld
#CFLAGS=-I ../h -E -P -D SIMOS -nostdinc -nostdinc++ -x c++
CFLAGS=-I . -E -P -D SIMOS -D BUILD_PALCODE -nostdinc -nostdinc++ -x c++
GASFLAGS=-m21164
LDFLAGS=-Ttext 0x4000
-SOURCES=platform_tlaser.s osfpal.s
+SOURCES=osfpal.s platform_tlaser.s
PREPROC := $(SOURCES:.s=.i)
OBJS := $(SOURCES:.s=.o)
@@ -23,7 +23,7 @@ OBJS := $(SOURCES:.s=.o)
all: $(PREPROC) $(OBJS)
- ld $(LDFLAGS) -o osfpal $(OBJS)
+ $(LD) $(LDFLAGS) -o osfpal $(OBJS)
clean:
rm -f *.o *.i osfpal