summaryrefslogtreecommitdiff
path: root/system/alpha/console/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'system/alpha/console/Makefile')
-rw-r--r--system/alpha/console/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/alpha/console/Makefile b/system/alpha/console/Makefile
index e29c02b1a..7f705dd8c 100644
--- a/system/alpha/console/Makefile
+++ b/system/alpha/console/Makefile
@@ -35,8 +35,8 @@ AS=$(CROSS_COMPILE)as
LD=$(CROSS_COMPILE)ld
DBMENTRY= fffffc0000010000
-CFLAGS=-I . -I ../h -I$(M5)/dev -fno-builtin -Wa,-m21164
-OBJS=dbmentry.o printf.o paljtokern.o paljtoslave.o console.o
+CFLAGS=-I . -I ../h -I$(M5)/dev -I$(M5)/util/m5/ -fno-builtin -Wa,-m21164
+OBJS=dbmentry.o printf.o paljtokern.o paljtoslave.o console.o m5op.o
### Make sure that the M5 variable is set ###
ifndef M5
@@ -45,6 +45,9 @@ endif
all: console
+m5op.o: $(M5)/util/m5/m5op.S
+ $(CC) $(CFLAGS) -nostdinc -o $@ -c $<
+
%.o: %.S
$(CC) $(CFLAGS) -nostdinc -o $@ -c $<