Explicitly supply KVER and KARCH to dkms builds
This commit is contained in:
parent
d1b426877b
commit
3c4f722bcc
@ -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=$?
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user