Skip to content

Commit

Permalink
Explicitly supply KVER and KARCH to dkms builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jlkDE committed Mar 18, 2023
1 parent c347140 commit dbe8943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=$?

Expand Down

0 comments on commit dbe8943

Please sign in to comment.