nixpkgs/pkgs/os-specific/linux/amdgpu-pro/patches/0003-disable-firmware-copy.patch
2018-01-12 00:09:15 -04:00

25 lines
733 B
Diff

From 7a3062acbbabdb29239bbc8c984e62589a88576e Mon Sep 17 00:00:00 2001
From: David McFarland <corngood@gmail.com>
Date: Tue, 9 Jan 2018 21:49:55 -0400
Subject: [PATCH 3/3] disable firmware copy
---
pre-build.sh | 5 -----
1 file changed, 5 deletions(-)
diff --git a/pre-build.sh b/pre-build.sh
index e7b8a32..bad8f25 100755
--- a/pre-build.sh
+++ b/pre-build.sh
@@ -38,8 +38,3 @@ find ttm -name '*.c' -exec grep EXPORT_SYMBOL {} + \
| sort -u \
| awk -F'[()]' '{print "#define "$2" amd"$2" //"$0}'\
>> include/rename_symbol.h
-
-FW_DIR="/lib/firmware/$KERNELVER"
-mkdir -p $FW_DIR
-cp -ar /usr/src/amdgpu-17.40-492261/firmware/radeon $FW_DIR
-cp -ar /usr/src/amdgpu-17.40-492261/firmware/amdgpu $FW_DIR
--
2.15.1