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 Jul 30, 2023
1 parent d1b4268 commit 3c4f722
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 @@ -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=$?

Expand Down

0 comments on commit 3c4f722

Please sign in to comment.