File: fix-clean.patch

package info (click to toggle)
bbswitch 0.8-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 200 kB
  • sloc: ansic: 369; makefile: 74
file content (15 lines) | stat: -rw-r--r-- 489 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Andreas Beckmann <anbe@debian.org>
Description: run clean target against the kernel version used for building
 the running kernel may not have the headers installed

--- a/dkms/dkms.conf
+++ b/dkms/dkms.conf
@@ -1,7 +1,7 @@
 PACKAGE_NAME="bbswitch"
 PACKAGE_VERSION="#MODULE_VERSION#"
 MAKE[0]="make KVERSION=$kernelver"
-CLEAN="make clean"
+CLEAN="make KVERSION=$kernelver clean"
 BUILT_MODULE_NAME[0]="bbswitch"
 DEST_MODULE_LOCATION[0]="/kernel/drivers/acpi"
 AUTOINSTALL="yes"