Makefile revision 1.283
11.283Sriastrad#	$NetBSD: Makefile,v 1.283 2024/03/20 17:11:44 riastradh Exp $
21.37Sdyoung
31.37Sdyoung.include <bsd.own.mk>
41.15Sad
51.282Smrg.if !make(includes)
61.15Sad# For all platforms
71.1Sad
81.251Sandvar# Modules for compatibility with earlier versions of NetBSD
91.216Spgoyette
101.216SpgoyetteSUBDIR+=	compat_util
111.216SpgoyetteSUBDIR+=	compat_43   compat_sysctl_09_43
121.216SpgoyetteSUBDIR+=	compat_09   compat_10   compat_12   compat_13   compat_14
131.216SpgoyetteSUBDIR+=	compat_16   compat_20   compat_30   compat_40   compat_50
141.275SpgoyetteSUBDIR+=	compat_60   compat_70   compat_80   compat_90   compat_100
151.216Spgoyette
161.216SpgoyetteSUBDIR+=	compat_sysv_10 compat_sysv_14 compat_sysv_50
171.216Spgoyette
181.237SpgoyetteSUBDIR+=	compat_50_quota
191.237Spgoyette
201.216SpgoyetteSUBDIR+=	compat_raid_50
211.216SpgoyetteSUBDIR+=	compat_raid_80
221.216Spgoyette
231.216SpgoyetteSUBDIR+=	compat_crypto_50
241.216Spgoyette
251.216SpgoyetteSUBDIR+=	accf_dataready
261.16SadSUBDIR+=	accf_httpready
271.15SadSUBDIR+=	adosfs
281.264SpgoyetteSUBDIR+=	adiantum
291.272SbradSUBDIR+=	aht20temp
301.14SadSUBDIR+=	aio
311.192SpgoyetteSUBDIR+=	audio
321.198SchristosSUBDIR+=	autofs
331.254SchristosSUBDIR+=	blake2s
341.133SpgoyetteSUBDIR+=	blowfish
351.38SpookaSUBDIR+=	bpf
361.166SpgoyetteSUBDIR+=	bpf_filter
371.273SbradSUBDIR+=	bmx280thp
381.274SbradSUBDIR+=	bmx280thpi2c
391.183SpgoyetteSUBDIR+=	bufq_disksort
401.183SpgoyetteSUBDIR+=	bufq_fcfs
411.183SpgoyetteSUBDIR+=	bufq_priocscan
421.183SpgoyetteSUBDIR+=	bufq_readprio
431.133SpgoyetteSUBDIR+=	camellia
441.133SpgoyetteSUBDIR+=	cast128
451.132SpgoyetteSUBDIR+=	ccd
461.7SrumbleSUBDIR+=	cd9660
471.129SpgoyetteSUBDIR+=	cgd
481.132SpgoyetteSUBDIR+=	chfs
491.163SpgoyetteSUBDIR+=	clockctl
501.216SpgoyetteSUBDIR+=	compat_ossaudio
511.134SpgoyetteSUBDIR+=	crypto
521.7SrumbleSUBDIR+=	coda
531.7SrumbleSUBDIR+=	coda5
541.15SadSUBDIR+=	coredump
551.104SpgoyetteSUBDIR+=	dbcool
561.133SpgoyetteSUBDIR+=	des
571.129SpgoyetteSUBDIR+=	dk_subr
581.164SpgoyetteSUBDIR+=	drvctl
591.7SrumbleSUBDIR+=	efs
601.7SrumbleSUBDIR+=	ext2fs
611.15SadSUBDIR+=	exec_script
621.7SrumbleSUBDIR+=	fdesc
631.7SrumbleSUBDIR+=	ffs
641.18SadSUBDIR+=	filecore
651.68SahokaSUBDIR+=	flash
661.15SadSUBDIR+=	fss
671.89SmbalmerSUBDIR+=	gpio
681.94SmbalmerSUBDIR+=	gpioiic
691.92SmbalmerSUBDIR+=	gpioow
701.89SmbalmerSUBDIR+=	gpiosim
711.203SthorpejSUBDIR+=	gpioirq
721.204SthorpejSUBDIR+=	gpiopps
731.7SrumbleSUBDIR+=	hfs
741.136SkardelSUBDIR+=	hythygtemp
751.197SchristosSUBDIR+=	am2315temp
761.143SjmcneillSUBDIR+=	i2cexec
771.166SpgoyetteSUBDIR+=	i2c_bitbang
781.263SpgoyetteSUBDIR+=	i2c_subr
791.175SchristosSUBDIR+=	if_agr
801.226SmrgSUBDIR+=	if_aue
811.105SpgoyetteSUBDIR+=	if_axe
821.120SnonakaSUBDIR+=	if_axen
831.226SmrgSUBDIR+=	if_cdce
841.226SmrgSUBDIR+=	if_cue
851.175SchristosSUBDIR+=	if_faith
861.175SchristosSUBDIR+=	if_gif
871.175SchristosSUBDIR+=	if_gre
881.226SmrgSUBDIR+=	if_kue
891.189SknakaharSUBDIR+=	if_l2tp
901.250SyamaguchSUBDIR+=	if_lagg
911.175SchristosSUBDIR+=	if_loop
921.175SchristosSUBDIR+=	if_mpls
931.208SrinSUBDIR+=	if_mue
941.118SchristosSUBDIR+=	if_npflog
951.171SchristosSUBDIR+=	if_ppp
961.174SpgoyetteSUBDIR+=	if_pppoe
971.255SpgoyetteSUBDIR+=	if_run
981.172SchristosSUBDIR+=	if_sl
991.124SskrllSUBDIR+=	if_smsc
1001.221SpgoyetteSUBDIR+=	if_srt srt
1011.175SchristosSUBDIR+=	if_stf
1021.220SpgoyetteSUBDIR+=	if_tap tap
1031.176SpgoyetteSUBDIR+=	if_tun tun
1041.224SskrllSUBDIR+=	if_udav
1051.226SmrgSUBDIR+=	if_upl
1061.219SrinSUBDIR+=	if_ure
1071.226SmrgSUBDIR+=	if_url
1081.226SmrgSUBDIR+=	if_urndis
1091.175SchristosSUBDIR+=	if_vlan
1101.252SchristosSUBDIR+=	if_wg
1111.94SmbalmerSUBDIR+=	iic
1121.196SpgoyetteSUBDIR+=	ip_ecn
1131.167SpgoyetteSUBDIR+=	ipl
1141.7SrumbleSUBDIR+=	kernfs
1151.22SadSUBDIR+=	layerfs
1161.7SrumbleSUBDIR+=	lfs
1171.121SmbalmerSUBDIR+=	lua
1181.128SlnetoSUBDIR+=	luasystm
1191.123SmbalmerSUBDIR+=	luapmf
1201.7SrumbleSUBDIR+=	mfs
1211.192SpgoyetteSUBDIR+=	midi
1221.266SpgoyetteSUBDIR+=	midi_seq
1231.45SpgoyetteSUBDIR+=	miiverbose
1241.45SpgoyetteSUBDIR+=	miniroot
1251.31SrmindSUBDIR+=	mqueue
1261.18SadSUBDIR+=	msdos
1271.68SahokaSUBDIR+=	nand
1281.68SahokaSUBDIR+=	nandemulator
1291.15SadSUBDIR+=	nfs
1301.15SadSUBDIR+=	nfsserver
1311.30SreinoudSUBDIR+=	nilfs
1321.96StronSUBDIR+=	npf
1331.97StronSUBDIR+=	npf_alg_icmp
1341.111SrmindSUBDIR+=	npf_ext_log
1351.119SchristosSUBDIR+=	npf_ext_normalize
1361.117SrmindSUBDIR+=	npf_ext_rndblock
1371.7SrumbleSUBDIR+=	ntfs
1381.18SadSUBDIR+=	null
1391.92SmbalmerSUBDIR+=	onewire
1401.134SpgoyetteSUBDIR+=	opencrypto
1411.7SrumbleSUBDIR+=	overlay
1421.280SkardelSUBDIR+=	owtemp
1431.249SniaSUBDIR+=	pad
1441.42SpgoyetteSUBDIR+=	pciverbose
1451.41SahokaSUBDIR+=	pf
1461.19ScubeSUBDIR+=	ppp_bsdcomp
1471.19ScubeSUBDIR+=	ppp_deflate
1481.7SrumbleSUBDIR+=	procfs
1491.182SpgoyetteSUBDIR+=	ptrace
1501.182SpgoyetteSUBDIR+=	ptrace_common
1511.7SrumbleSUBDIR+=	ptyfs
1521.7SrumbleSUBDIR+=	puffs
1531.15SadSUBDIR+=	putter
1541.165SpgoyetteSUBDIR+=	raid
1551.262SbradSUBDIR+=	scmd
1561.262SbradSUBDIR+=	scmdi2c
1571.265SpgoyetteSUBDIR+=	scsi_subr
1581.265SpgoyetteSUBDIR+=	scsiverbose
1591.103SpgoyetteSUBDIR+=	sdtemp
1601.33SeladSUBDIR+=	secmodel_bsd44
1611.100SjymSUBDIR+=	secmodel_extensions
1621.33SeladSUBDIR+=	secmodel_overlay
1631.33SeladSUBDIR+=	securelevel
1641.192SpgoyetteSUBDIR+=	sequencer
1651.262SbradSUBDIR+=	sgp40mox
1661.262SbradSUBDIR+=	sht3xtemp
1671.262SbradSUBDIR+=	sht4xtemp
1681.262SbradSUBDIR+=	si70xxtemp
1691.133SpgoyetteSUBDIR+=	skipjack
1701.168SpgoyetteSUBDIR+=	slcompress
1711.81SpgoyetteSUBDIR+=	spdmem
1721.188SpgoyetteSUBDIR+=	spkr
1731.173SpgoyetteSUBDIR+=	sppp_subr
1741.146SpgoyetteSUBDIR+=	sysmon
1751.146SpgoyetteSUBDIR+=	sysmon_envsys
1761.146SpgoyetteSUBDIR+=	sysmon_power
1771.146SpgoyetteSUBDIR+=	sysmon_taskq
1781.146SpgoyetteSUBDIR+=	sysmon_wdog
1791.24SpookaSUBDIR+=	sysvbfs
1801.153SpgoyetteSUBDIR+=	sysv_ipc
1811.33SeladSUBDIR+=	suser
1821.134SpgoyetteSUBDIR+=	swcrypto
1831.48SpgoyetteSUBDIR+=	swsensor
1841.145SpgoyetteSUBDIR+=	swwdog
1851.7SrumbleSUBDIR+=	tmpfs
1861.191SriastradSUBDIR+=	ualea
1871.108SriastradSUBDIR+=	uatp
1881.7SrumbleSUBDIR+=	udf
1891.222SpgoyetteSUBDIR+=	ufs
1901.18SadSUBDIR+=	umap
1911.7SrumbleSUBDIR+=	union
1921.223SmrgSUBDIR+=	usbnet
1931.43SpgoyetteSUBDIR+=	usbverbose
1941.106SchristosSUBDIR+=	vcoda
1951.78SenamiSUBDIR+=	v7fs
1961.25ShaadSUBDIR+=	vnd
1971.157SpgoyetteSUBDIR+=	wapbl
1981.193SpgoyetteSUBDIR+=	wsbell
1991.131SpgoyetteSUBDIR+=	zlib
2001.29SyamtSUBDIR+=	tprof
2011.7Srumble.if (defined(NOTYET))
2021.7SrumbleSUBDIR+=	unionfs
2031.7Srumble.endif
2041.37Sdyoung.if ${MKBINUTILS} != "no"
2051.37SdyoungSUBDIR+=	xldscripts
2061.37Sdyoung.endif
2071.7Srumble
2081.15Sad# Machine dependent section
2091.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
2101.49Stsutsui    ${MACHINE_CPU} == "m68k"
2111.47StsutsuiSUBDIR+=	exec_aout
2121.47Stsutsui.endif
2131.47Stsutsui
2141.169Sscole.if ${MACHINE_ARCH} != "alpha" && \
2151.169Sscole    ${MACHINE_ARCH} != "ia64"
2161.17SmartinSUBDIR+=	exec_elf32
2171.17Smartin.endif
2181.15Sad
2191.139Smatt.if ${MACHINE_CPU} == "aarch64" || \
2201.139Smatt    ${MACHINE_ARCH} == "alpha" || \
2211.169Sscole    ${MACHINE_ARCH} == "ia64" || \
2221.278Sskrll    ${MACHINE_ARCH} == "riscv64" || \
2231.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
2241.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
2251.20SheSUBDIR+=	exec_elf64
2261.20She.endif
2271.20She
2281.29Syamt.if ${MACHINE_ARCH} == "i386" || \
2291.29Syamt    ${MACHINE_ARCH} == "x86_64"
2301.199SpgoyetteSUBDIR+=	amdsmn
2311.71SjruohoSUBDIR+=	amdtemp
2321.199SpgoyetteSUBDIR+=	amdzentemp
2331.64SjruohoSUBDIR+=	coretemp
2341.65SjruohoSUBDIR+=	est
2351.110SmartinSUBDIR+=	hdafg
2361.110SmartinSUBDIR+=	hdaudio
2371.144SjmcneillSUBDIR+=	hdaudio_pci
2381.141SchristosSUBDIR+=	hdaudioverbose
2391.72SjruohoSUBDIR+=	hpet
2401.202SpgoyetteSUBDIR+=	ichsmb
2411.69SjruohoSUBDIR+=	odcm
2421.66SjruohoSUBDIR+=	powernow
2431.150SpgoyetteSUBDIR+=	tco
2441.207SmaxvSUBDIR+=	tprof_x86
2451.95SjmcneillSUBDIR+=	vmt
2461.29Syamt.endif
2471.29Syamt
2481.246Sjmcneill.if ${HAVE_NVMM:Uno} == "yes"
2491.210SmaxvSUBDIR+=	nvmm
2501.210Smaxv.endif
2511.210Smaxv
2521.240Sskrll# Builds on architectures with PCI bus
2531.240Sskrll.if \
2541.242Sskrll     ${MACHINE} == "evbarm" || \
2551.240Sskrll     ${MACHINE_ARCH} == "i386" || \
2561.240Sskrll     ${MACHINE_ARCH} == "x86_64"
2571.241Sskrll#SUBDIR+=	hifn
2581.245SyamaguchSUBDIR+=	if_iavf
2591.240SskrllSUBDIR+=	if_ixl
2601.240SskrllSUBDIR+=	ubsec
2611.137Sbad.endif
2621.137Sbad
2631.126Salnsn.if ${MKSLJIT} != "no"
2641.215Salnsn# No modules for 32-bit arm, mips and powerpc yet.
2651.215Salnsn.if ${MACHINE_ARCH} == "aarch64" || \
2661.215Salnsn    ${MACHINE_ARCH} == "i386"    || \
2671.215Salnsn    ${MACHINE_ARCH} == "sparc"   || \
2681.215Salnsn    ${MACHINE_ARCH} == "x86_64"
2691.113SalnsnSUBDIR+=	bpfjit
2701.112SalnsnSUBDIR+=	sljit
2711.112Salnsn.endif
2721.126Salnsn.endif
2731.112Salnsn
2741.85Sjruoho#
2751.85Sjruoho# ACPI modules
2761.85Sjruoho#
2771.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
2781.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
2791.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
2801.46SpgoyetteSUBDIR+=	acpiverbose
2811.46Spgoyette.endif
2821.46Spgoyette
2831.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
2841.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
2851.52SjruohoSUBDIR+=	acpiacad
2861.52SjruohoSUBDIR+=	acpibat
2871.52SjruohoSUBDIR+=	acpibut
2881.52SjruohoSUBDIR+=	acpicpu
2891.53SjruohoSUBDIR+=	acpidalb
2901.58SjruohoSUBDIR+=	acpifan
2911.52SjruohoSUBDIR+=	acpilid
2921.57SjruohoSUBDIR+=	acpipmtr
2931.53SjruohoSUBDIR+=	acpitz
2941.53SjruohoSUBDIR+=	acpivga
2951.86SjruohoSUBDIR+=	acpiwdrt
2961.51SjmcneillSUBDIR+=	acpiwmi
2971.53SjruohoSUBDIR+=	aibs
2981.283SriastradSUBDIR+=	apei
2991.54SjruohoSUBDIR+=	asus
3001.63SjruohoSUBDIR+=	fujbp
3011.63SjruohoSUBDIR+=	fujhk
3021.75SjruohoSUBDIR+=	hpacel
3031.54SjruohoSUBDIR+=	hpqlb
3041.52SjruohoSUBDIR+=	thinkpad
3051.50SjmcneillSUBDIR+=	wmidell
3061.83SjruohoSUBDIR+=	wmieeepc
3071.50SjmcneillSUBDIR+=	wmihp
3081.50SjmcneillSUBDIR+=	wmimsi
3091.50Sjmcneill.endif
3101.50Sjmcneill
3111.218Smrg.include "${.CURDIR}/../compat/netbsd32/netbsd32.mk"
3121.218Smrg.if ${COMPAT_USE_NETBSD32} != "no"
3131.218Smrg
3141.151SmattSUBDIR+=	compat_netbsd32
3151.216SpgoyetteSUBDIR+=	compat_netbsd32_09	compat_netbsd32_12
3161.216SpgoyetteSUBDIR+=	compat_netbsd32_13	compat_netbsd32_16
3171.216SpgoyetteSUBDIR+=	compat_netbsd32_20	compat_netbsd32_30
3181.216SpgoyetteSUBDIR+=	compat_netbsd32_40	compat_netbsd32_50
3191.216SpgoyetteSUBDIR+=	compat_netbsd32_60	compat_netbsd32_80
3201.275SpgoyetteSUBDIR+=	compat_netbsd32_90	compat_netbsd32_100
3211.216SpgoyetteSUBDIR+=	compat_netbsd32_43
3221.248SpgoyetteSUBDIR+=	compat_netbsd32_coredump
3231.180SskrllSUBDIR+=	compat_netbsd32_mqueue
3241.158SpgoyetteSUBDIR+=	compat_netbsd32_nfssrv
3251.181SskrllSUBDIR+=	compat_netbsd32_ptrace
3261.243SpgoyetteSUBDIR+=	compat_netbsd32_quota
3271.243SpgoyetteSUBDIR+=	compat_netbsd32_quota_50
3281.243SpgoyetteSUBDIR+=	compat_netbsd32_raid
3291.162SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc
3301.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_10
3311.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_14
3321.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_50
3331.151Smatt
3341.27Sabs.if ${MACHINE_ARCH} == "x86_64"
3351.15SadSUBDIR+=	compat_linux32
3361.15Sad.endif
3371.15Sad
3381.218Smrg.endif
3391.218Smrg
3401.27Sabs.if ${MACHINE_ARCH} == "i386"
3411.90SjmcneillSUBDIR+=	ati_pcigart
3421.15SadSUBDIR+=	compat_freebsd
3431.90SjmcneillSUBDIR+=	mach64drm
3441.90SjmcneillSUBDIR+=	mgadrm
3451.76SjmcneillSUBDIR+=	nsclpcsio
3461.62SjmcneillSUBDIR+=	padlock
3471.90SjmcneillSUBDIR+=	r128drm
3481.281Spgoyette#SUBDIR+=	radeondrm
3491.90SjmcneillSUBDIR+=	savagedrm
3501.90SjmcneillSUBDIR+=	sisdrm
3511.90SjmcneillSUBDIR+=	tdfxdrm
3521.67SjruohoSUBDIR+=	viac7temp
3531.15Sad.endif
3541.15Sad
3551.142Schristos.if ${MACHINE_ARCH} == "i386" || \
3561.276Sriastrad    ${MACHINE_ARCH} == "x86_64" || \
3571.277Sriastrad    ${MACHINE_CPU} == "aarch64"
3581.269SriastradSUBDIR+=	amdgpu
3591.269SriastradSUBDIR+=	drmkms
3601.269SriastradSUBDIR+=	drmkms_linux
3611.269SriastradSUBDIR+=	drmkms_pci
3621.269SriastradSUBDIR+=	drmkms_sched
3631.269SriastradSUBDIR+=	drmkms_ttm
3641.276Sriastrad.endif
3651.276Sriastrad
3661.276Sriastrad.if ${MACHINE_ARCH} == "i386" || \
3671.276Sriastrad    ${MACHINE_ARCH} == "x86_64"
3681.276SriastradSUBDIR+=	drm
3691.276SriastradSUBDIR+=	compat_linux
3701.276SriastradSUBDIR+=	drmkms_agp
3711.142SchristosSUBDIR+=	i915drm
3721.269SriastradSUBDIR+=	i915drmkms
3731.279SandvarSUBDIR+=	viadrmums
3741.85Sjruoho#
3751.85Sjruoho# ISA modules
3761.85Sjruoho#
3771.59SjmcneillSUBDIR+=	aps
3781.80SjmcneillSUBDIR+=	finsio
3791.79SjmcneillSUBDIR+=	itesio
3801.101SjakllschSUBDIR+=	lm
3811.101SjakllschSUBDIR+=	lm_isa
3821.101SjakllschSUBDIR+=	lm_isa_common
3831.101SjakllschSUBDIR+=	lm_wbsio
3841.101SjakllschSUBDIR+=	wbsio
3851.56Sjmcneill.endif
3861.56Sjmcneill
3871.258Sryo.if ${MACHINE_CPU} == "aarch64"
3881.258SryoSUBDIR+=	compat_linux
3891.261SryoSUBDIR+=	compat_linux32
3901.258Sryo.endif
3911.258Sryo
3921.49Stsutsui.if ${MACHINE_CPU} == "m68k"
3931.47StsutsuiSUBDIR+=	compat_aoutm68k
3941.47Stsutsui#SUBDIR+=	compat_linux
3951.47Stsutsui#SUBDIR+=	compat_sunos
3961.47Stsutsui.endif
3971.47Stsutsui
3981.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
3991.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
4001.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
4011.88SmbalmerSUBDIR+=	pwdog
4021.88Smbalmer.endif
4031.88Smbalmer
4041.23Sagc.include <bsd.own.mk>
4051.23Sagc
4061.107Sreinoud#
4071.107Sreinoud# NetBSD/usermode support
4081.107Sreinoud#
4091.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
4101.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
4111.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
4121.107Sreinoud.endif
4131.107Sreinoud
4141.23Sagc# we need our device mapper for LVM
4151.23Sagc.if (${MKLVM} != "no")
4161.28SyamtSUBDIR+= 	dm
4171.23Sagc.endif
4181.23Sagc
4191.39Sdarran.if (${MKDTRACE} != "no")
4201.116SchsSUBDIR+=	cyclic
4211.39SdarranSUBDIR+=	dtrace
4221.39Sdarran.endif
4231.39Sdarran
4241.252SchristosSUBDIR+=        sodium
4251.252Schristos
4261.39Sdarran# we need solaris for the dtrace and zfs modules
4271.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
4281.39SdarranSUBDIR+=        solaris
4291.39Sdarran.endif
4301.39Sdarran
4311.34Shaad.if (${MKZFS} != "no")
4321.34ShaadSUBDIR+=	zfs
4331.34Shaad.endif
4341.34Shaad
4351.73Smrg.if (${MKCOMPATMODULES} != "no")
4361.73SmrgSUBDIR+=	arch
4371.73Smrg.endif
4381.73Smrg
4391.84Sjmcneill#
4401.84Sjmcneill# DTV modules
4411.84Sjmcneill#
4421.84SjmcneillSUBDIR+=	dtv
4431.84SjmcneillSUBDIR+=	dtv_math
4441.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
4451.84Sjmcneill# tuners/demods
4461.84SjmcneillSUBDIR+=	au8522
4471.84SjmcneillSUBDIR+=	cx24227
4481.84SjmcneillSUBDIR+=	lg3303
4491.84SjmcneillSUBDIR+=	mt2131
4501.84SjmcneillSUBDIR+=	nxt2k
4511.84SjmcneillSUBDIR+=	tvpll
4521.84SjmcneillSUBDIR+=	xc3028
4531.84SjmcneillSUBDIR+=	xc5k
4541.91SjruohoSUBDIR+=	zl10353
4551.84Sjmcneill# hardware drivers
4561.84SjmcneillSUBDIR+=	auvitek
4571.84SjmcneillSUBDIR+=	coram
4581.84SjmcneillSUBDIR+=	cxdtv
4591.84SjmcneillSUBDIR+=	emdtv
4601.200Spgoyette
4611.200Spgoyette# Intel Integrated Memory Controller and associated SMBus
4621.200Spgoyette# (Experimental)
4631.200SpgoyetteSUBDIR+=	imc
4641.200SpgoyetteSUBDIR+=	imcsmb
4651.200Spgoyette
4661.84Sjmcneill.endif
4671.84Sjmcneill
4681.98Sriz.if (${MKISCSI} != "no")
4691.98SrizSUBDIR+=	iscsi
4701.98Sriz.endif
4711.98Sriz
4721.179Spgoyette# For now, all of these are disabled, pending resolution of how to deal
4731.179Spgoyette# with attachment-specific modules and bus-specific modules (as opposed
4741.179Spgoyette# to machine- or architecture-specific modules)
4751.179Spgoyette
4761.179Spgoyette.if 0
4771.179SpgoyetteSUBDIR+=	aac
4781.179SpgoyetteSUBDIR+=	amr
4791.179SpgoyetteSUBDIR+=	ataraid
4801.179SpgoyetteSUBDIR+=	cac
4811.179SpgoyetteSUBDIR+=	cac_eisa
4821.179SpgoyetteSUBDIR+=	cac_pci
4831.271SmartinSUBDIR+=	emuxki
4841.234SryoSUBDIR+=	if_aq
4851.179SpgoyetteSUBDIR+=	if_vioif
4861.247SryoSUBDIR+=	if_vmx
4871.179SpgoyetteSUBDIR+=	ld
4881.179SpgoyetteSUBDIR+=	ld_aac
4891.179SpgoyetteSUBDIR+=	ld_amr
4901.179SpgoyetteSUBDIR+=	ld_ataraid
4911.179SpgoyetteSUBDIR+=	ld_cac
4921.179SpgoyetteSUBDIR+=	ld_icp
4931.179SpgoyetteSUBDIR+=	ld_mlx
4941.179SpgoyetteSUBDIR+=	ld_sdmmc
4951.179SpgoyetteSUBDIR+=	ld_twa
4961.179SpgoyetteSUBDIR+=	ld_twe
4971.179SpgoyetteSUBDIR+=	ld_virtio
4981.179SpgoyetteSUBDIR+=	mlx
4991.179SpgoyetteSUBDIR+=	mlx_eisa
5001.179SpgoyetteSUBDIR+=	mlx_pci
5011.179SpgoyetteSUBDIR+=	ld_nvme
5021.179SpgoyetteSUBDIR+=	nvme
5031.179SpgoyetteSUBDIR+=	twa
5041.179SpgoyetteSUBDIR+=	twe
5051.228SozakiSUBDIR+=	vio9p
5061.179SpgoyetteSUBDIR+=	viomb
5071.179SpgoyetteSUBDIR+=	virtio
5081.205SjakllschSUBDIR+=	virtio_pci
5091.190SjdolecekSUBDIR+=	vioscsi
5101.179Spgoyette.endif
5111.179Spgoyette
5121.154SpgoyetteSUBDIR+=	examples	# build these regularly to avoid bit-rot
5131.154Spgoyette
5141.282Smrg.endif
5151.282Smrg
5161.1Sad.include <bsd.subdir.mk>
517