opnsense-ports/devel/linux-kernel/files/patch-Makefile
Franco Fichtner eed7de3a28 */*: sync with upstream
Taken from: FreeBSD
2016-12-28 12:42:23 +01:00

11 lines
468 B
Text

--- Makefile.orig 2016-12-12 13:41:07 UTC
+++ Makefile
@@ -225,7 +225,7 @@ export srctree objtree VPATH
# then ARCH is assigned, getting whatever value it gets normally, and
# SUBARCH is subsequently ignored.
-SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
+SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/amd64/x86/ \
-e s/sun4u/sparc64/ \
-e s/arm.*/arm/ -e s/sa110/arm/ \
-e s/s390x/s390/ -e s/parisc64/parisc/ \