diff --git a/install-driver.sh b/install-driver.sh index b083713..f29ede5 100755 --- a/install-driver.sh +++ b/install-driver.sh @@ -353,9 +353,9 @@ else fi if command -v /usr/bin/time >/dev/null 2>&1; then - /usr/bin/time -f "Compile time: %U seconds" dkms build -m ${DRV_NAME} -v ${DRV_VERSION} + /usr/bin/time -f "Compile time: %U seconds" dkms build -m ${DRV_NAME} -v ${DRV_VERSION} -k "${KVER}/${KARCH}" else - dkms build -m ${DRV_NAME} -v ${DRV_VERSION} + dkms build -m ${DRV_NAME} -v ${DRV_VERSION} -k "${KVER}/${KARCH}" fi RESULT=$?