aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-09-12 18:14:44 +0000
committerEd Maste <emaste@FreeBSD.org>2019-09-12 18:14:44 +0000
commit6659d8e7c26453b829e2bc66096e4319cf8ab2b5 (patch)
tree177dd7b5a0a579d09a10833da72d4968861ec4a1 /sys/modules/Makefile
parent34454e9a6ec139966f558833e30d48e140c2f225 (diff)
downloadsrc-6659d8e7c26453b829e2bc66096e4319cf8ab2b5.tar.gz
src-6659d8e7c26453b829e2bc66096e4319cf8ab2b5.zip
arm64: connect Linuxulator to the build
More work needs to be done, but it is capable of running basic statically or dynamically linked Linux/arm64 binaries. Relnotes: Yes Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=352259
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r--sys/modules/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index f5c0995af6a0..348244a1f87f 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -207,9 +207,6 @@ SUBDIR= \
libiconv \
libmchain \
lindebugfs \
- ${_linux} \
- ${_linux_common} \
- ${_linux64} \
linuxkpi \
${_lio} \
lpt \
@@ -466,10 +463,22 @@ SUBDIR+= iscsi_initiator
SUBDIR+= fdt
.endif
+# Linuxulator
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
${MACHINE_CPUARCH} == "i386"
SUBDIR+= linprocfs
SUBDIR+= linsysfs
+.endif
+.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
+SUBDIR+= linux
+.endif
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64"
+SUBDIR+= linux64
+SUBDIR+= linux_common
+.endif
+
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
+ ${MACHINE_CPUARCH} == "i386"
_ena= ena
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
_ibcore= ibcore
@@ -590,7 +599,6 @@ _if_ndis= if_ndis
_io= io
_ix= ix
_ixv= ixv
-_linux= linux
.if ${MK_SOURCELESS_UCODE} != "no"
_lio= lio
.endif
@@ -692,8 +700,6 @@ _efirt= efirt
_iavf= iavf
_ioat= ioat
_ixl= ixl
-_linux64= linux64
-_linux_common= linux_common
_nvdimm= nvdimm
_pms= pms
_qlxge= qlxge