summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-04-12 17:07:34 -0700
committerRichard Henderson <rth@twiddle.net>2011-04-12 17:07:34 -0700
commitf907c57529209ddf51dc8d817bee266fb10784f4 (patch)
tree17f211889c053485aed582714fcae2f62ccfb268 /Makefile
parent166df70b3b5bba0058aae0f8d1c6371bddf40315 (diff)
downloadqemu-palcode-f907c57529209ddf51dc8d817bee266fb10784f4.zip
qemu-palcode-f907c57529209ddf51dc8d817bee266fb10784f4.tar.gz
qemu-palcode-f907c57529209ddf51dc8d817bee266fb10784f4.tar.bz2
Don't hard-code paths to the cross-compiler.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0ad78bd..5514e43 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,8 @@
-CC = /home/rth/work/gcc/run-axp/bin/alphaev6-linux-gcc
-LD = /home/rth/work/gcc/run-axp/bin/alphaev6-linux-ld
-CFLAGS = -O -g -msmall-text -msmall-data -fvisibility=hidden -mno-fp-regs -fno-strict-aliasing
+CROSS = alphaev67-linux-
+CC = $(CROSS)gcc
+LD = $(CROSS)ld
+CFLAGS = -O -g -msmall-text -msmall-data -fvisibility=hidden \
+ -mno-fp-regs -fno-strict-aliasing
OBJS = pal.o init.o uart.o memset.o printf.o