From 337bd2f6c5a41fcd2127b74eb397529dbc56c2a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= <seblu@seblu.net>
Date: Fri, 5 Jan 2018 01:51:44 +0100
Subject: [PATCH] Remove broken symlinks of unneeded architectures

---
 PKGBUILD | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/PKGBUILD b/PKGBUILD
index 5276411..8d69d61 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -138,6 +138,9 @@ install_sources() {
   cp Module.symvers "$kernsrc"
   cp -a scripts "$kernsrc"
 
+  # remove broken symlinks of unneeded architectures in scripts
+  rm -r "$kernsrc/scripts/dtc/include-prefixes"
+
   # fix permissions on scripts dir
   chmod og-w -R "$kernsrc/scripts"
 
-- 
GitLab