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

15 lines
581 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-09-02 18:27:04 +02:00
mkdir -p "$(DESTDIR)"/etc/modprobe.d/
install -D -m 644 blacklist-pika-nouveau.conf $(DESTDIR)/etc/modprobe.d/blacklist-pika-nouveau.conf
mkdir -p "$(DESTDIR)"/etc/modules-load.d/
install -D -m 644 pika-nvidia.conf $(DESTDIR)/etc/modules-load.d/pika-nvidia.conf