Displaying 2 results from an estimated 2 matches for "modules_alias_file".
2009 Oct 03
3
PATCH: Build floppy image which contains HDT
...-u ./com32/hdt/Makefile.old ./com32/hdt/Makefile
--- ./com32/hdt/Makefile.old 2009-09-30 06:32:42.000000000 +0200
+++ ./com32/hdt/Makefile 2009-10-03 23:06:49.356614719 +0200
@@ -27,6 +27,11 @@
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
+KERNEL_VERSION ?= $(shell uname -r)
+MODULES_ALIAS_FILE ?= /lib/modules/$(KERNEL_VERSION)/modules.alias
+MODULES_PCIMAP_FILE ?= /lib/modules/$(KERNEL_VERSION)/modules.pcimap
+PCI_IDS_FILE ?= $(PWD)/floppy/pci.ids
+
all: $(MODULES) $(TESTFILES)
hdt.elf : $(OBJS) $(LIBS) $(C_LIBS)
@@ -39,9 +44,17 @@
rm -f *.lnx
spotless: cl...
2009 Oct 04
1
Build a bootable floppy image which contains HDT
...http://mtools.linux.lu) to be installed.
The script will try to pick several files from your system :
- /lib/modules/`uname -r`/modules.alias
- /lib/modules/`uname -r`/modules.pcimap
- /usr/share/pci.ids or /usr/share/hwdata/pci.ids
This paths can be overrided with the following command line:
make MODULES_ALIAS_FILE=$(PWD)/floppy/modules.alias MODULES_PCIMAP_FILE=$(PWD)/floppy/modules.pcimap PCI_IDS_FILE=$(PWD)/floppy/pci.ids hdt.img
If your system doesn't have pci.ids, please download it from http://pciids.sourceforge.net/ and put it into the floppy/ directory.
Greetings,
- Gert Hulselmans