Avoid unnecessary modprobe invocations during compat-wireless build

This commit is contained in:
John W. Linville 2012-01-03 13:43:28 -05:00
parent 534bbc8050
commit 13eb970aa7
2 changed files with 14 additions and 0 deletions

View File

@ -69,6 +69,17 @@ diff -up compat-wireless-3.2-rc6-3/drivers/net/usb/Makefile.orig compat-wireless
diff -up compat-wireless-3.2-rc6-3/Makefile.orig compat-wireless-3.2-rc6-3/Makefile
--- compat-wireless-3.2-rc6-3/Makefile.orig 2012-01-03 09:41:57.109826807 -0500
+++ compat-wireless-3.2-rc6-3/Makefile 2012-01-03 09:42:03.470747287 -0500
@@ -8,8 +8,8 @@ endif
export KLIB_BUILD ?= $(KLIB)/build
# Sometimes not available in the path
MODPROBE := /sbin/modprobe
-MADWIFI=$(shell $(MODPROBE) -l ath_pci)
-OLD_IWL=$(shell $(MODPROBE) -l iwl4965)
+MADWIFI=""
+OLD_IWL=""
DESTDIR?=
@@ -41,8 +41,8 @@ endif
endif

View File

@ -2370,6 +2370,9 @@ fi
# and build.
%changelog
* Tue Jan 03 2012 John W. Linville <linville@redhat.com>
- Avoid unnecessary modprobe invocations during compat-wireless build
* Tue Jan 03 2012 Dave Jones <davej@redhat.com>
- Add Thinkpad SL510 to the pci=nocrs blacklist.