aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'com32/modules/Makefile')
-rw-r--r--com32/modules/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/com32/modules/Makefile b/com32/modules/Makefile
index efba4c36..f7f5340e 100644
--- a/com32/modules/Makefile
+++ b/com32/modules/Makefile
@@ -44,7 +44,7 @@ AUXDIR = $(LIBDIR)/syslinux
INCDIR = /usr/include
COM32DIR = $(AUXDIR)/com32
-MODULES = chain.c32 menu.c32 ethersel.c32 mboot.c32 dmitest.c32 cpuidtest.c32
+MODULES = chain.c32 menu.c32 ethersel.c32 mboot.c32 dmitest.c32 cpuidtest.c32 pcitest.c32
TESTFILES = menu.lnx
all: $(MODULES) $(TESTFILES)
@@ -76,6 +76,9 @@ all: $(MODULES) $(TESTFILES)
%.c32: %.elf
$(OBJCOPY) -O binary $< $@
+pcitest.elf : pcitest.o pci.o $(LIBS)
+ $(LD) $(LDFLAGS) -o $@ $^
+
cpuidtest.elf : cpuidtest.o cpuid.o $(LIBS)
$(LD) $(LDFLAGS) -o $@ $^