pkg-nvidia-pikaos-kernel-mo.../nvidia-pikaos-kernel-module/Makefiletmp
Ward Nakchbandi (Cosmic Fusion) 3fa5f75cee
2023-09-02 17:05:38 +03:00

11 lines
292 B
Plaintext

.PHONY: install
all:
true
install:
dkms build --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 {} +