grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / hidds / pci / mmakefile.src
blob195c2e92e3e2bdf9cdf2a515bb9755ad06a7facc
1 #   $Id$
3 include $(SRCDIR)/config/aros.cfg
5 USER_INCLUDES := -I.
7 CFLAGS := $(CFLAGS) -D__KERNEL__
8 USER_LDFLAGS := -static
10 FILES   := pci_init pcidriverclass pcideviceclass pciclass pciutil
12 #MM kernel-hidd-pci : kernel-hidd-pci-ids
13 #MM kernel-hidd-pci-kobj : kernel-hidd-pci-ids
15 #MM
16 includes-copy : $(AROS_INCLUDES)/hidd/pci.h $(GENINCDIR)/hidd/pci.h
18 $(AROS_INCLUDES)/hidd/pci.h: include/pci_hidd.h
19         $(CP) $< $(AROS_INCLUDES)/hidd/pci.h
21 $(GENINCDIR)/hidd/pci.h: include/pci_hidd.h
22         $(CP) $< $(GENINCDIR)/hidd/pci.h
24 %fetch mmake=kernel-hidd-pci-ids \
25     archive_origins="http://pciids.sourceforge.net/v2.2/ https://pci-ids.ucw.cz/v2.2/" \
26     archive="pci.ids" suffixes="" location=$(AROS_DEVS)
28 %build_module mmake=kernel-hidd-pci \
29     modname=pci modtype=hidd \
30     files="$(FILES)"