Update Makefiletmp

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-11-07 16:07:39 +03:00 committed by GitHub
parent 8a810d8b98
commit 67118df27e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,6 @@ install:
fakeroot dkms build --verbose --dkmstree "${MK_WORKDIR}" -m nvidia/"${DRIVER}" -k "${KERNEL}" 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/* install -Dt "$(DESTDIR)/usr/lib/modules/"${KERNEL}"/extramodules" -m644 nvidia/"${DRIVER}"/"${KERNEL}"/"${CARCH}"/module/*
find "$(DESTDIR)" -name '*.ko' -exec xz -T1 {} + find "$(DESTDIR)" -name '*.ko' -exec xz -T1 {} +
mkdir -p "$(DESTDIR)"/usr/lib/pika/nvidia-${DRIVER}"-"${KERNEL}" 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 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 install -D -m 644 pika-nvidia.conf "$(DESTDIR)"/usr/lib/pika/nvidia-"${DRIVER}"-"${KERNEL}"/pika-nvidia.conf