Package: broadcom-sta-source Version: 6.30.223.248-1 Severity: normal Tags: patch
When using module-assistant with the -l option (to specify another than the current kernel), building of the broadcom-sta modules fails, because it tries to clean for the current running kernel instead of the specified kernel. It is just the cleaning that goes wrong, all other things seem to behave. The reason is that the clean target is called with variable KVERS instead of KVER. The attached patch should solve the problem. As a workaround, set the KVER environment variable before calling module-assistant, for example: KVER=3.2.0-4-amd64 module-assistant -l 3.2.0-4-amd64 a-i broadcom-sta Kind regards, Frodo Looijaard <[email protected]> -- System Information: Debian Release: 7.6 APT prefers stable APT policy: (700, 'stable'), (500, 'stable-updates'), (400, 'testing'), (350, 'experimental'), (350, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-0.bpo.2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages broadcom-sta-source depends on: ii bzip2 1.0.6-4 ii debhelper 9.20120909 ii make 3.81-8.2 Versions of packages broadcom-sta-source recommends: ii module-assistant 0.11.6~bpo70+1 broadcom-sta-source suggests no packages. -- no debconf information
--- broadcom-sta-6.30.223.248/debian/rules.modules.org 2014-09-30 23:03:34.369094187 +0200 +++ broadcom-sta-6.30.223.248/debian/rules.modules 2014-09-30 23:03:42.561227138 +0200 @@ -9,5 +9,5 @@ kdist_clean: prep-deb-files dh_clean - $(MAKE) clean KBUILD=$(KSRC) KVERS=$(KVERS) + $(MAKE) clean KBUILD=$(KSRC) KVER=$(KVERS) kdist_config: prep-deb-files

