disable automatic dependency tracking for dkms builds

Previously the dkms build left some unwanted files
in `/usr/lib/modules` which could cause package
managers to not properly clean up old kernels.

Signed-off-by: Martin Wagner <martin.wagner.dev@gmail.com>
This commit is contained in:
Martin Wagner 2024-06-01 14:13:15 +02:00
parent a72751a342
commit 1030df3ee0
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ PACKAGE_VERSION="${pkgver}"
PACKAGE_CONFIG="${pkgcfg}"
NO_WEAK_MODULES="yes"
PRE_BUILD="configure
--disable-dependency-tracking
--prefix=/usr
--with-config=kernel
--with-linux=\$(