diff --git a/install-driver.sh b/install-driver.sh index 52ce8c8..c368b5e 100755 --- a/install-driver.sh +++ b/install-driver.sh @@ -330,9 +330,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=$?