pkg-nvidia-pikaos-kernel-mo.../linux-nvidia-modules/Makefiletmp

15 lines
624 B
Plaintext
Raw Normal View History

2023-09-02 15:44:58 +02:00
.PHONY: install
all:
true
install:
2023-09-02 16:09:56 +02:00
fakeroot dkms build --verbose --dkmstree "${MK_WORKDIR}" -m nvidia/"${DRIVER}" -k "${KERNEL}"
2023-09-02 15:44:58 +02:00
install -Dt "$(DESTDIR)/usr/lib/modules/"${KERNEL}"/extramodules" -m644 nvidia/"${DRIVER}"/"${KERNEL}"/"${CARCH}"/module/*
2023-09-02 16:16:25 +02:00
find "$(DESTDIR)" -name '*.ko' -exec xz -T1 {} +
2023-11-07 14:07:39 +01:00
mkdir -p "$(DESTDIR)"/usr/lib/pika/nvidia-"${DRIVER}"-"${KERNEL}"
install -D -m 644 blacklist-pika-nouveau.conf "$(DESTDIR)"/usr/lib/pika/nvidia-"${DRIVER}"-"${KERNEL}"/blacklist-pika-nouveau.conf
install -D -m 644 pika-nvidia.conf "$(DESTDIR)"/usr/lib/pika/nvidia-"${DRIVER}"-"${KERNEL}"/pika-nvidia.conf