summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-05-06 18:05:13 -0700
committerRichard Henderson <rth@twiddle.net>2011-05-06 18:05:13 -0700
commit2d46a7ec8fdf0c22f21e57ecfc46a5df5cd5cfbf (patch)
tree1e892a683028f2047f4b931abe6108409636ff1b /Makefile
parent90bb73f3fbcb32569f271bf1130fab45b2b4fb66 (diff)
downloadqemu-palcode-2d46a7ec8fdf0c22f21e57ecfc46a5df5cd5cfbf.zip
qemu-palcode-2d46a7ec8fdf0c22f21e57ecfc46a5df5cd5cfbf.tar.gz
qemu-palcode-2d46a7ec8fdf0c22f21e57ecfc46a5df5cd5cfbf.tar.bz2
Initial PCI setup.
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