summaryrefslogtreecommitdiffstats
path: root/lst/Makefile
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-07 10:15:11 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-07 10:15:11 +0000
commit6a9e6c7dfa9e62657c17254cf096c16a05dcdf01 (patch)
tree90a3fed5f3189f1c9c61bf19d2bbd0bf2c6b9c72 /lst/Makefile
parent96e00f516496a92b705950e946f4cd85de532f1f (diff)
downloadldetect-lst-6a9e6c7dfa9e62657c17254cf096c16a05dcdf01.tar
ldetect-lst-6a9e6c7dfa9e62657c17254cf096c16a05dcdf01.tar.gz
ldetect-lst-6a9e6c7dfa9e62657c17254cf096c16a05dcdf01.tar.bz2
ldetect-lst-6a9e6c7dfa9e62657c17254cf096c16a05dcdf01.tar.xz
ldetect-lst-6a9e6c7dfa9e62657c17254cf096c16a05dcdf01.zip
provide default module aliases for PCI/USB devices matching multiple modules in preferred-modules.alias (not complete yet, undecided.alias is still 73 lines
Diffstat (limited to 'lst/Makefile')
-rw-r--r--lst/Makefile8
1 files changed, 6 insertions, 2 deletions
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