11 lines
292 B
Plaintext
Raw Normal View History

2023-09-02 16:44:58 +03:00
.PHONY: install
all:
true
install:
2023-09-02 17:05:38 +03:00
dkms build --dkmstree "${MK_WORKDIR}" -m nvidia/"${DRIVER}" -k "${KERNEL}"
2023-09-02 16:44:58 +03:00
install -Dt "$(DESTDIR)/usr/lib/modules/"${KERNEL}"/extramodules" -m644 nvidia/"${DRIVER}"/"${KERNEL}"/"${CARCH}"/module/*
find "$(DESTDIR)" -name '*.ko' -exec xz -T1 {} +