summaryrefslogtreecommitdiff
path: root/com32/modules/Makefile
diff options
context:
space:
mode:
authorErwan Velu <erwan@r1.paris>2006-09-07 20:30:09 +0200
committerH. Peter Anvin <hpa@zytor.com>2006-09-12 21:06:55 -0700
commitc1b0bb65b97cde99e4a7be101fa4033833d17243 (patch)
tree77add7aaaa0cdfe9881f4f55dd8fd5fe9ab6261c /com32/modules/Makefile
parent7d5d2f9bb363f95db585092f43fe5a1eefe588f1 (diff)
downloadsyslinux-3.2x.tar.gz
Introducing a new com32 module to parse pci devices/busessyslinux-3.2x
The pcitest module implements an example of use the pci module If you like to use the string name just put a pci.ids file in the root directory (cherry picked from 85bb6facf0100592c89d5c3c5c17b25e7b0006b3 commit)
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 $@ $^