nixpkgs/pkgs/os-specific/linux/amdgpu-pro/patches/0001-disable-firmware-copy.patch

26 lines
741 B
Diff
Raw Normal View History

2017-04-08 20:34:26 +02:00
From 704cef8638ffbdd8de9e57f28b43ea42c685ea87 Mon Sep 17 00:00:00 2001
2017-01-28 22:10:50 +01:00
From: David McFarland <corngood@gmail.com>
Date: Sat, 28 Jan 2017 16:57:26 -0400
Subject: [PATCH 1/4] disable firmware copy
---
pre-build.sh | 5 -----
1 file changed, 5 deletions(-)
diff --git a/pre-build.sh b/pre-build.sh
2017-04-08 20:34:26 +02:00
index 622ff13..e3cd009 100755
2017-01-28 22:10:50 +01:00
--- a/pre-build.sh
+++ b/pre-build.sh
@@ -35,8 +35,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
2017-04-08 20:34:26 +02:00
-cp -ar /usr/src/amdgpu-pro-17.10-401251/firmware/radeon $FW_DIR
-cp -ar /usr/src/amdgpu-pro-17.10-401251/firmware/amdgpu $FW_DIR
2017-01-28 22:10:50 +01:00
--
2017-04-08 20:34:26 +02:00
2.12.2
2017-01-28 22:10:50 +01:00