15 lines
409 B
Plaintext
15 lines
409 B
Plaintext
|
|
|
|
|
|
.PHONY: install
|
|
all:
|
|
true
|
|
|
|
install:
|
|
fakeroot dkms build --verbose --dkmstree "${MK_WORKDIR}" -m nvidia/"${DRIVER}" -k "${KERNEL}"
|
|
install -Dt "$(DESTDIR)/usr/lib/modules/"${KERNEL}"/extramodules" -m644 nvidia/"${DRIVER}"/"${KERNEL}"/"${CARCH}"/module/*
|
|
find "$(DESTDIR)" -name '*.ko' -exec xz -T1 {} +
|
|
|
|
clean:
|
|
echo 'DKMS MAKEFILE LOG:'
|
|
cat nvidia/"${DRIVER}"/"${KERNEL}"/"${CARCH}/log/make.log |