ports/devel/linux-kernel/files/patch-Makefile
Dmitry Marakasov c500583f40 - Update to 4.9
PR:		214851
Submitted by:	t@tobik.me (maintainer)
2016-12-25 13:09:46 +00: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/ \