ports/devel/linux-kernel/files/patch-arch_x86_Makefile
Kurt Jaeger f0622e11d6 New port: devel/linux-kernel
The Linux kernel.

This port is a building block for creating custom Linux appliances in
FreeBSD as part of your regular package build without a Linux VM or
jail.

Provide your own Linux kernel configuration file via the LINUX_KCONFIG
make variable, or create your own via support of Linux' config tools.

The default configuration comes with QEMU/KVM guest support.

WWW: https://www.kernel.org/

PR:		211419
Submitted by:	Tobias Kortkamp <t@tobik.me>
Reviewed by:	koobs
2016-08-14 09:20:22 +00:00

11 lines
327 B
Text

--- arch/x86/Makefile.orig 2016-07-27 15:42:34 UTC
+++ arch/x86/Makefile
@@ -2,7 +2,7 @@
# select defconfig based on actual architecture
ifeq ($(ARCH),x86)
- ifeq ($(shell uname -m),x86_64)
+ ifeq ($(shell uname -m),amd64)
KBUILD_DEFCONFIG := x86_64_defconfig
else
KBUILD_DEFCONFIG := i386_defconfig