summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 925a5d7..f6a0628 100644
--- a/Makefile
+++ b/Makefile
@@ -6,14 +6,16 @@ CORE = typhoon
SYSTEM = clipper
ASFLAGS = -Wa,-m21264 -Wa,--noexecstack
-CFLAGS = -Os -g -Wall -fvisibility=hidden -fno-strict-aliasing \
+OPT= -Os
+CFLAGS = $(OPT) -g -Wall -fvisibility=hidden -fno-strict-aliasing \
-msmall-text -msmall-data -mno-fp-regs -mbuild-constants
CPPFLAGS = -DSYSTEM_H='"sys-$(SYSTEM).h"'
CFLAGS += -mcpu=ev67
OBJS = pal.o sys-$(SYSTEM).o init.o crb.o uart.o console.o console-low.o \
- memset.o printf.o util.o ps2port.o
+ ps2port.o pci.o \
+ printf.o util.o memset.o strlen.o
all: palcode-$(SYSTEM)
@@ -30,3 +32,4 @@ printf.o: printf.c uart.h
uart.o: uart.c uart.h protos.h
crb.o: crb.c hwrpb.h protos.h console.h uart.h
console.o: console.c console.h protos.h
+pci.o: pci.c protos.h pci.h pci_regs.h