summaryrefslogtreecommitdiff
path: root/pkg/linux-headers/fetch.sh
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-02-20 17:17:42 -0800
committerMichael Forney <mforney@mforney.org>2020-02-20 18:00:49 -0800
commit52de3828d78673a30c2a92c70c41e99558e19502 (patch)
tree391fd485e74ed8dfe5e92b748114e16ae1e42090 /pkg/linux-headers/fetch.sh
parent711d9f752135ac5b7fa3575fdd6574af4b1d10d6 (diff)
linux-headers: Only use inline asm on GNU-compatible C compilers
Diffstat (limited to 'pkg/linux-headers/fetch.sh')
-rw-r--r--pkg/linux-headers/fetch.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/linux-headers/fetch.sh b/pkg/linux-headers/fetch.sh
index 316e4382..0fdaa7f5 100644
--- a/pkg/linux-headers/fetch.sh
+++ b/pkg/linux-headers/fetch.sh
@@ -22,3 +22,7 @@ xzcat "$archive" | ${PAXREAD:-pax -r} -s ',^[^/]*,src,' \
'linux-*/arch/*/syscalls' \
'linux-*/include/uapi' \
'linux-*/scripts/unifdef.c'
+
+if [ -d patch ] ; then
+ git apply -v --whitespace=nowarn --directory "$dir/src" patch/*
+fi