From 6a9e6c7dfa9e62657c17254cf096c16a05dcdf01 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 7 Sep 2007 10:15:11 +0000 Subject: provide default module aliases for PCI/USB devices matching multiple modules in preferred-modules.alias (not complete yet, undecided.alias is still 73 lines --- lst/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lst/Makefile') diff --git a/lst/Makefile b/lst/Makefile index d15d96ea..496b8ad9 100644 --- a/lst/Makefile +++ b/lst/Makefile @@ -12,10 +12,10 @@ TMP_TABLES1 = $(TABLES1:%=%.tmp) TMP_TABLES2 = $(TABLES2:%=%.tmp) TMP_TABLES = $(TABLES:%=%.tmp) -build: +build: preferred-modules.alias clean: - rm -f *~ *.tmp ScannerDB.gz + rm -f *~ *.tmp ScannerDB.gz preferred-modules.alias check: @../convert/merge2pcitable.pl pcitable pcitable.x86_64 pcitable.x86_64 > .pcitable @@ -27,6 +27,9 @@ check: @cd ../convert; ./verify_Cards.pl @rm -f .pcitable .usbtable +preferred-modules.alias: + @../convert/uniquify-modalias.pl > $@ 2>undecided.alias + $(TMP_TABLES1): %.tmp: % ../convert/merge2pcitable.pl pcitable $< $<.$(ARCH) > $@ @@ -55,3 +58,4 @@ install: $(TMP_TABLES) $(TABLES3) install -m 644 modprobe.conf $(modprobe_dir)/$(project).conf install -m 644 `ls -tr /lib/modules/*/modules.alias | tail -1` $(dir)/fallback-modules.alias + install -m 644 preferred-modules.alias $(dir)/preferred-modules.alias -- cgit v1.2.1