Makefile revision 1.287
11.287Schristos#	$NetBSD: Makefile,v 1.287 2024/05/19 22:25:49 christos 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.287SchristosSUBDIR+=	compat_110
161.216Spgoyette
171.216SpgoyetteSUBDIR+=	compat_sysv_10 compat_sysv_14 compat_sysv_50
181.216Spgoyette
191.237SpgoyetteSUBDIR+=	compat_50_quota
201.237Spgoyette
211.216SpgoyetteSUBDIR+=	compat_raid_50
221.216SpgoyetteSUBDIR+=	compat_raid_80
231.216Spgoyette
241.216SpgoyetteSUBDIR+=	compat_crypto_50
251.216Spgoyette
261.216SpgoyetteSUBDIR+=	accf_dataready
271.16SadSUBDIR+=	accf_httpready
281.15SadSUBDIR+=	adosfs
291.264SpgoyetteSUBDIR+=	adiantum
301.272SbradSUBDIR+=	aht20temp
311.14SadSUBDIR+=	aio
321.192SpgoyetteSUBDIR+=	audio
331.198SchristosSUBDIR+=	autofs
341.254SchristosSUBDIR+=	blake2s
351.133SpgoyetteSUBDIR+=	blowfish
361.38SpookaSUBDIR+=	bpf
371.166SpgoyetteSUBDIR+=	bpf_filter
381.273SbradSUBDIR+=	bmx280thp
391.274SbradSUBDIR+=	bmx280thpi2c
401.183SpgoyetteSUBDIR+=	bufq_disksort
411.183SpgoyetteSUBDIR+=	bufq_fcfs
421.183SpgoyetteSUBDIR+=	bufq_priocscan
431.183SpgoyetteSUBDIR+=	bufq_readprio
441.133SpgoyetteSUBDIR+=	camellia
451.133SpgoyetteSUBDIR+=	cast128
461.132SpgoyetteSUBDIR+=	ccd
471.7SrumbleSUBDIR+=	cd9660
481.129SpgoyetteSUBDIR+=	cgd
491.132SpgoyetteSUBDIR+=	chfs
501.163SpgoyetteSUBDIR+=	clockctl
511.216SpgoyetteSUBDIR+=	compat_ossaudio
521.134SpgoyetteSUBDIR+=	crypto
531.7SrumbleSUBDIR+=	coda
541.7SrumbleSUBDIR+=	coda5
551.15SadSUBDIR+=	coredump
561.104SpgoyetteSUBDIR+=	dbcool
571.133SpgoyetteSUBDIR+=	des
581.129SpgoyetteSUBDIR+=	dk_subr
591.164SpgoyetteSUBDIR+=	drvctl
601.7SrumbleSUBDIR+=	efs
611.7SrumbleSUBDIR+=	ext2fs
621.15SadSUBDIR+=	exec_script
631.7SrumbleSUBDIR+=	fdesc
641.7SrumbleSUBDIR+=	ffs
651.18SadSUBDIR+=	filecore
661.68SahokaSUBDIR+=	flash
671.15SadSUBDIR+=	fss
681.89SmbalmerSUBDIR+=	gpio
691.94SmbalmerSUBDIR+=	gpioiic
701.92SmbalmerSUBDIR+=	gpioow
711.89SmbalmerSUBDIR+=	gpiosim
721.203SthorpejSUBDIR+=	gpioirq
731.204SthorpejSUBDIR+=	gpiopps
741.7SrumbleSUBDIR+=	hfs
751.136SkardelSUBDIR+=	hythygtemp
761.197SchristosSUBDIR+=	am2315temp
771.143SjmcneillSUBDIR+=	i2cexec
781.166SpgoyetteSUBDIR+=	i2c_bitbang
791.263SpgoyetteSUBDIR+=	i2c_subr
801.175SchristosSUBDIR+=	if_agr
811.226SmrgSUBDIR+=	if_aue
821.105SpgoyetteSUBDIR+=	if_axe
831.120SnonakaSUBDIR+=	if_axen
841.226SmrgSUBDIR+=	if_cdce
851.226SmrgSUBDIR+=	if_cue
861.175SchristosSUBDIR+=	if_faith
871.175SchristosSUBDIR+=	if_gif
881.175SchristosSUBDIR+=	if_gre
891.226SmrgSUBDIR+=	if_kue
901.189SknakaharSUBDIR+=	if_l2tp
911.250SyamaguchSUBDIR+=	if_lagg
921.175SchristosSUBDIR+=	if_loop
931.175SchristosSUBDIR+=	if_mpls
941.208SrinSUBDIR+=	if_mue
951.118SchristosSUBDIR+=	if_npflog
961.171SchristosSUBDIR+=	if_ppp
971.174SpgoyetteSUBDIR+=	if_pppoe
981.255SpgoyetteSUBDIR+=	if_run
991.172SchristosSUBDIR+=	if_sl
1001.124SskrllSUBDIR+=	if_smsc
1011.221SpgoyetteSUBDIR+=	if_srt srt
1021.175SchristosSUBDIR+=	if_stf
1031.220SpgoyetteSUBDIR+=	if_tap tap
1041.176SpgoyetteSUBDIR+=	if_tun tun
1051.224SskrllSUBDIR+=	if_udav
1061.226SmrgSUBDIR+=	if_upl
1071.219SrinSUBDIR+=	if_ure
1081.226SmrgSUBDIR+=	if_url
1091.226SmrgSUBDIR+=	if_urndis
1101.175SchristosSUBDIR+=	if_vlan
1111.252SchristosSUBDIR+=	if_wg
1121.94SmbalmerSUBDIR+=	iic
1131.196SpgoyetteSUBDIR+=	ip_ecn
1141.167SpgoyetteSUBDIR+=	ipl
1151.7SrumbleSUBDIR+=	kernfs
1161.22SadSUBDIR+=	layerfs
1171.7SrumbleSUBDIR+=	lfs
1181.121SmbalmerSUBDIR+=	lua
1191.128SlnetoSUBDIR+=	luasystm
1201.123SmbalmerSUBDIR+=	luapmf
1211.7SrumbleSUBDIR+=	mfs
1221.192SpgoyetteSUBDIR+=	midi
1231.266SpgoyetteSUBDIR+=	midi_seq
1241.45SpgoyetteSUBDIR+=	miiverbose
1251.45SpgoyetteSUBDIR+=	miniroot
1261.31SrmindSUBDIR+=	mqueue
1271.18SadSUBDIR+=	msdos
1281.68SahokaSUBDIR+=	nand
1291.68SahokaSUBDIR+=	nandemulator
1301.15SadSUBDIR+=	nfs
1311.15SadSUBDIR+=	nfsserver
1321.30SreinoudSUBDIR+=	nilfs
1331.96StronSUBDIR+=	npf
1341.97StronSUBDIR+=	npf_alg_icmp
1351.111SrmindSUBDIR+=	npf_ext_log
1361.119SchristosSUBDIR+=	npf_ext_normalize
1371.117SrmindSUBDIR+=	npf_ext_rndblock
1381.7SrumbleSUBDIR+=	ntfs
1391.18SadSUBDIR+=	null
1401.92SmbalmerSUBDIR+=	onewire
1411.134SpgoyetteSUBDIR+=	opencrypto
1421.7SrumbleSUBDIR+=	overlay
1431.280SkardelSUBDIR+=	owtemp
1441.249SniaSUBDIR+=	pad
1451.42SpgoyetteSUBDIR+=	pciverbose
1461.41SahokaSUBDIR+=	pf
1471.19ScubeSUBDIR+=	ppp_bsdcomp
1481.19ScubeSUBDIR+=	ppp_deflate
1491.7SrumbleSUBDIR+=	procfs
1501.182SpgoyetteSUBDIR+=	ptrace
1511.182SpgoyetteSUBDIR+=	ptrace_common
1521.7SrumbleSUBDIR+=	ptyfs
1531.7SrumbleSUBDIR+=	puffs
1541.15SadSUBDIR+=	putter
1551.165SpgoyetteSUBDIR+=	raid
1561.262SbradSUBDIR+=	scmd
1571.262SbradSUBDIR+=	scmdi2c
1581.265SpgoyetteSUBDIR+=	scsi_subr
1591.265SpgoyetteSUBDIR+=	scsiverbose
1601.103SpgoyetteSUBDIR+=	sdtemp
1611.33SeladSUBDIR+=	secmodel_bsd44
1621.100SjymSUBDIR+=	secmodel_extensions
1631.33SeladSUBDIR+=	secmodel_overlay
1641.33SeladSUBDIR+=	securelevel
1651.192SpgoyetteSUBDIR+=	sequencer
1661.262SbradSUBDIR+=	sgp40mox
1671.262SbradSUBDIR+=	sht3xtemp
1681.262SbradSUBDIR+=	sht4xtemp
1691.262SbradSUBDIR+=	si70xxtemp
1701.133SpgoyetteSUBDIR+=	skipjack
1711.168SpgoyetteSUBDIR+=	slcompress
1721.81SpgoyetteSUBDIR+=	spdmem
1731.188SpgoyetteSUBDIR+=	spkr
1741.173SpgoyetteSUBDIR+=	sppp_subr
1751.146SpgoyetteSUBDIR+=	sysmon
1761.146SpgoyetteSUBDIR+=	sysmon_envsys
1771.146SpgoyetteSUBDIR+=	sysmon_power
1781.146SpgoyetteSUBDIR+=	sysmon_taskq
1791.146SpgoyetteSUBDIR+=	sysmon_wdog
1801.24SpookaSUBDIR+=	sysvbfs
1811.153SpgoyetteSUBDIR+=	sysv_ipc
1821.33SeladSUBDIR+=	suser
1831.134SpgoyetteSUBDIR+=	swcrypto
1841.48SpgoyetteSUBDIR+=	swsensor
1851.145SpgoyetteSUBDIR+=	swwdog
1861.7SrumbleSUBDIR+=	tmpfs
1871.191SriastradSUBDIR+=	ualea
1881.108SriastradSUBDIR+=	uatp
1891.7SrumbleSUBDIR+=	udf
1901.222SpgoyetteSUBDIR+=	ufs
1911.18SadSUBDIR+=	umap
1921.7SrumbleSUBDIR+=	union
1931.223SmrgSUBDIR+=	usbnet
1941.43SpgoyetteSUBDIR+=	usbverbose
1951.106SchristosSUBDIR+=	vcoda
1961.78SenamiSUBDIR+=	v7fs
1971.25ShaadSUBDIR+=	vnd
1981.157SpgoyetteSUBDIR+=	wapbl
1991.193SpgoyetteSUBDIR+=	wsbell
2001.131SpgoyetteSUBDIR+=	zlib
2011.29SyamtSUBDIR+=	tprof
2021.7Srumble.if (defined(NOTYET))
2031.7SrumbleSUBDIR+=	unionfs
2041.7Srumble.endif
2051.37Sdyoung.if ${MKBINUTILS} != "no"
2061.37SdyoungSUBDIR+=	xldscripts
2071.37Sdyoung.endif
2081.7Srumble
2091.15Sad# Machine dependent section
2101.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
2111.49Stsutsui    ${MACHINE_CPU} == "m68k"
2121.47StsutsuiSUBDIR+=	exec_aout
2131.47Stsutsui.endif
2141.47Stsutsui
2151.169Sscole.if ${MACHINE_ARCH} != "alpha" && \
2161.169Sscole    ${MACHINE_ARCH} != "ia64"
2171.17SmartinSUBDIR+=	exec_elf32
2181.17Smartin.endif
2191.15Sad
2201.139Smatt.if ${MACHINE_CPU} == "aarch64" || \
2211.139Smatt    ${MACHINE_ARCH} == "alpha" || \
2221.169Sscole    ${MACHINE_ARCH} == "ia64" || \
2231.278Sskrll    ${MACHINE_ARCH} == "riscv64" || \
2241.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
2251.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
2261.20SheSUBDIR+=	exec_elf64
2271.20She.endif
2281.20She
2291.29Syamt.if ${MACHINE_ARCH} == "i386" || \
2301.29Syamt    ${MACHINE_ARCH} == "x86_64"
2311.199SpgoyetteSUBDIR+=	amdsmn
2321.71SjruohoSUBDIR+=	amdtemp
2331.199SpgoyetteSUBDIR+=	amdzentemp
2341.64SjruohoSUBDIR+=	coretemp
2351.65SjruohoSUBDIR+=	est
2361.110SmartinSUBDIR+=	hdafg
2371.110SmartinSUBDIR+=	hdaudio
2381.144SjmcneillSUBDIR+=	hdaudio_pci
2391.141SchristosSUBDIR+=	hdaudioverbose
2401.72SjruohoSUBDIR+=	hpet
2411.202SpgoyetteSUBDIR+=	ichsmb
2421.69SjruohoSUBDIR+=	odcm
2431.66SjruohoSUBDIR+=	powernow
2441.150SpgoyetteSUBDIR+=	tco
2451.207SmaxvSUBDIR+=	tprof_x86
2461.286Spho.endif
2471.286Spho
2481.286Spho.if ${MACHINE_CPU} == "aarch64" || \
2491.286Spho    ${MACHINE_ARCH} == "i386" || \
2501.286Spho    ${MACHINE_ARCH} == "x86_64"
2511.95SjmcneillSUBDIR+=	vmt
2521.29Syamt.endif
2531.29Syamt
2541.246Sjmcneill.if ${HAVE_NVMM:Uno} == "yes"
2551.210SmaxvSUBDIR+=	nvmm
2561.210Smaxv.endif
2571.210Smaxv
2581.240Sskrll# Builds on architectures with PCI bus
2591.240Sskrll.if \
2601.242Sskrll     ${MACHINE} == "evbarm" || \
2611.240Sskrll     ${MACHINE_ARCH} == "i386" || \
2621.240Sskrll     ${MACHINE_ARCH} == "x86_64"
2631.241Sskrll#SUBDIR+=	hifn
2641.245SyamaguchSUBDIR+=	if_iavf
2651.240SskrllSUBDIR+=	if_ixl
2661.240SskrllSUBDIR+=	ubsec
2671.137Sbad.endif
2681.137Sbad
2691.126Salnsn.if ${MKSLJIT} != "no"
2701.113SalnsnSUBDIR+=	bpfjit
2711.112SalnsnSUBDIR+=	sljit
2721.112Salnsn.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.284SriastradSUBDIR+=	acpihed
2921.52SjruohoSUBDIR+=	acpilid
2931.57SjruohoSUBDIR+=	acpipmtr
2941.53SjruohoSUBDIR+=	acpitz
2951.53SjruohoSUBDIR+=	acpivga
2961.86SjruohoSUBDIR+=	acpiwdrt
2971.51SjmcneillSUBDIR+=	acpiwmi
2981.53SjruohoSUBDIR+=	aibs
2991.283SriastradSUBDIR+=	apei
3001.54SjruohoSUBDIR+=	asus
3011.63SjruohoSUBDIR+=	fujbp
3021.63SjruohoSUBDIR+=	fujhk
3031.75SjruohoSUBDIR+=	hpacel
3041.54SjruohoSUBDIR+=	hpqlb
3051.52SjruohoSUBDIR+=	thinkpad
3061.50SjmcneillSUBDIR+=	wmidell
3071.83SjruohoSUBDIR+=	wmieeepc
3081.50SjmcneillSUBDIR+=	wmihp
3091.50SjmcneillSUBDIR+=	wmimsi
3101.50Sjmcneill.endif
3111.50Sjmcneill
3121.218Smrg.include "${.CURDIR}/../compat/netbsd32/netbsd32.mk"
3131.218Smrg.if ${COMPAT_USE_NETBSD32} != "no"
3141.218Smrg
3151.151SmattSUBDIR+=	compat_netbsd32
3161.216SpgoyetteSUBDIR+=	compat_netbsd32_09	compat_netbsd32_12
3171.216SpgoyetteSUBDIR+=	compat_netbsd32_13	compat_netbsd32_16
3181.216SpgoyetteSUBDIR+=	compat_netbsd32_20	compat_netbsd32_30
3191.216SpgoyetteSUBDIR+=	compat_netbsd32_40	compat_netbsd32_50
3201.216SpgoyetteSUBDIR+=	compat_netbsd32_60	compat_netbsd32_80
3211.275SpgoyetteSUBDIR+=	compat_netbsd32_90	compat_netbsd32_100
3221.287SchristosSUBDIR+=	compat_netbsd32_110
3231.216SpgoyetteSUBDIR+=	compat_netbsd32_43
3241.248SpgoyetteSUBDIR+=	compat_netbsd32_coredump
3251.180SskrllSUBDIR+=	compat_netbsd32_mqueue
3261.158SpgoyetteSUBDIR+=	compat_netbsd32_nfssrv
3271.181SskrllSUBDIR+=	compat_netbsd32_ptrace
3281.243SpgoyetteSUBDIR+=	compat_netbsd32_quota
3291.243SpgoyetteSUBDIR+=	compat_netbsd32_quota_50
3301.243SpgoyetteSUBDIR+=	compat_netbsd32_raid
3311.162SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc
3321.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_10
3331.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_14
3341.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_50
3351.151Smatt
3361.27Sabs.if ${MACHINE_ARCH} == "x86_64"
3371.15SadSUBDIR+=	compat_linux32
3381.15Sad.endif
3391.15Sad
3401.218Smrg.endif
3411.218Smrg
3421.27Sabs.if ${MACHINE_ARCH} == "i386"
3431.90SjmcneillSUBDIR+=	ati_pcigart
3441.15SadSUBDIR+=	compat_freebsd
3451.90SjmcneillSUBDIR+=	mach64drm
3461.90SjmcneillSUBDIR+=	mgadrm
3471.76SjmcneillSUBDIR+=	nsclpcsio
3481.62SjmcneillSUBDIR+=	padlock
3491.90SjmcneillSUBDIR+=	r128drm
3501.281Spgoyette#SUBDIR+=	radeondrm
3511.90SjmcneillSUBDIR+=	savagedrm
3521.90SjmcneillSUBDIR+=	sisdrm
3531.90SjmcneillSUBDIR+=	tdfxdrm
3541.67SjruohoSUBDIR+=	viac7temp
3551.15Sad.endif
3561.15Sad
3571.142Schristos.if ${MACHINE_ARCH} == "i386" || \
3581.276Sriastrad    ${MACHINE_ARCH} == "x86_64" || \
3591.277Sriastrad    ${MACHINE_CPU} == "aarch64"
3601.269SriastradSUBDIR+=	amdgpu
3611.269SriastradSUBDIR+=	drmkms
3621.269SriastradSUBDIR+=	drmkms_linux
3631.269SriastradSUBDIR+=	drmkms_pci
3641.269SriastradSUBDIR+=	drmkms_sched
3651.269SriastradSUBDIR+=	drmkms_ttm
3661.276Sriastrad.endif
3671.276Sriastrad
3681.276Sriastrad.if ${MACHINE_ARCH} == "i386" || \
3691.276Sriastrad    ${MACHINE_ARCH} == "x86_64"
3701.276SriastradSUBDIR+=	drm
3711.276SriastradSUBDIR+=	compat_linux
3721.276SriastradSUBDIR+=	drmkms_agp
3731.142SchristosSUBDIR+=	i915drm
3741.269SriastradSUBDIR+=	i915drmkms
3751.279SandvarSUBDIR+=	viadrmums
3761.85Sjruoho#
3771.85Sjruoho# ISA modules
3781.85Sjruoho#
3791.59SjmcneillSUBDIR+=	aps
3801.80SjmcneillSUBDIR+=	finsio
3811.79SjmcneillSUBDIR+=	itesio
3821.101SjakllschSUBDIR+=	lm
3831.101SjakllschSUBDIR+=	lm_isa
3841.101SjakllschSUBDIR+=	lm_isa_common
3851.101SjakllschSUBDIR+=	lm_wbsio
3861.101SjakllschSUBDIR+=	wbsio
3871.56Sjmcneill.endif
3881.56Sjmcneill
3891.258Sryo.if ${MACHINE_CPU} == "aarch64"
3901.258SryoSUBDIR+=	compat_linux
3911.261SryoSUBDIR+=	compat_linux32
3921.258Sryo.endif
3931.258Sryo
3941.49Stsutsui.if ${MACHINE_CPU} == "m68k"
3951.47StsutsuiSUBDIR+=	compat_aoutm68k
3961.47Stsutsui#SUBDIR+=	compat_linux
3971.47Stsutsui#SUBDIR+=	compat_sunos
3981.47Stsutsui.endif
3991.47Stsutsui
4001.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
4011.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
4021.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
4031.88SmbalmerSUBDIR+=	pwdog
4041.88Smbalmer.endif
4051.88Smbalmer
4061.23Sagc.include <bsd.own.mk>
4071.23Sagc
4081.107Sreinoud#
4091.107Sreinoud# NetBSD/usermode support
4101.107Sreinoud#
4111.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
4121.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
4131.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
4141.107Sreinoud.endif
4151.107Sreinoud
4161.23Sagc# we need our device mapper for LVM
4171.23Sagc.if (${MKLVM} != "no")
4181.28SyamtSUBDIR+= 	dm
4191.23Sagc.endif
4201.23Sagc
4211.39Sdarran.if (${MKDTRACE} != "no")
4221.116SchsSUBDIR+=	cyclic
4231.39SdarranSUBDIR+=	dtrace
4241.39Sdarran.endif
4251.39Sdarran
4261.252SchristosSUBDIR+=        sodium
4271.252Schristos
4281.39Sdarran# we need solaris for the dtrace and zfs modules
4291.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
4301.39SdarranSUBDIR+=        solaris
4311.39Sdarran.endif
4321.39Sdarran
4331.34Shaad.if (${MKZFS} != "no")
4341.34ShaadSUBDIR+=	zfs
4351.34Shaad.endif
4361.34Shaad
4371.73Smrg.if (${MKCOMPATMODULES} != "no")
4381.73SmrgSUBDIR+=	arch
4391.73Smrg.endif
4401.73Smrg
4411.84Sjmcneill#
4421.84Sjmcneill# DTV modules
4431.84Sjmcneill#
4441.84SjmcneillSUBDIR+=	dtv
4451.84SjmcneillSUBDIR+=	dtv_math
4461.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
4471.84Sjmcneill# tuners/demods
4481.84SjmcneillSUBDIR+=	au8522
4491.84SjmcneillSUBDIR+=	cx24227
4501.84SjmcneillSUBDIR+=	lg3303
4511.84SjmcneillSUBDIR+=	mt2131
4521.84SjmcneillSUBDIR+=	nxt2k
4531.84SjmcneillSUBDIR+=	tvpll
4541.84SjmcneillSUBDIR+=	xc3028
4551.84SjmcneillSUBDIR+=	xc5k
4561.91SjruohoSUBDIR+=	zl10353
4571.84Sjmcneill# hardware drivers
4581.84SjmcneillSUBDIR+=	auvitek
4591.84SjmcneillSUBDIR+=	coram
4601.84SjmcneillSUBDIR+=	cxdtv
4611.84SjmcneillSUBDIR+=	emdtv
4621.200Spgoyette
4631.200Spgoyette# Intel Integrated Memory Controller and associated SMBus
4641.200Spgoyette# (Experimental)
4651.200SpgoyetteSUBDIR+=	imc
4661.200SpgoyetteSUBDIR+=	imcsmb
4671.200Spgoyette
4681.84Sjmcneill.endif
4691.84Sjmcneill
4701.98Sriz.if (${MKISCSI} != "no")
4711.98SrizSUBDIR+=	iscsi
4721.98Sriz.endif
4731.98Sriz
4741.179Spgoyette# For now, all of these are disabled, pending resolution of how to deal
4751.179Spgoyette# with attachment-specific modules and bus-specific modules (as opposed
4761.179Spgoyette# to machine- or architecture-specific modules)
4771.179Spgoyette
4781.179Spgoyette.if 0
4791.179SpgoyetteSUBDIR+=	aac
4801.179SpgoyetteSUBDIR+=	amr
4811.179SpgoyetteSUBDIR+=	ataraid
4821.179SpgoyetteSUBDIR+=	cac
4831.179SpgoyetteSUBDIR+=	cac_eisa
4841.179SpgoyetteSUBDIR+=	cac_pci
4851.271SmartinSUBDIR+=	emuxki
4861.234SryoSUBDIR+=	if_aq
4871.179SpgoyetteSUBDIR+=	if_vioif
4881.247SryoSUBDIR+=	if_vmx
4891.179SpgoyetteSUBDIR+=	ld
4901.179SpgoyetteSUBDIR+=	ld_aac
4911.179SpgoyetteSUBDIR+=	ld_amr
4921.179SpgoyetteSUBDIR+=	ld_ataraid
4931.179SpgoyetteSUBDIR+=	ld_cac
4941.179SpgoyetteSUBDIR+=	ld_icp
4951.179SpgoyetteSUBDIR+=	ld_mlx
4961.179SpgoyetteSUBDIR+=	ld_sdmmc
4971.179SpgoyetteSUBDIR+=	ld_twa
4981.179SpgoyetteSUBDIR+=	ld_twe
4991.179SpgoyetteSUBDIR+=	ld_virtio
5001.179SpgoyetteSUBDIR+=	mlx
5011.179SpgoyetteSUBDIR+=	mlx_eisa
5021.179SpgoyetteSUBDIR+=	mlx_pci
5031.179SpgoyetteSUBDIR+=	ld_nvme
5041.179SpgoyetteSUBDIR+=	nvme
5051.179SpgoyetteSUBDIR+=	twa
5061.179SpgoyetteSUBDIR+=	twe
5071.228SozakiSUBDIR+=	vio9p
5081.179SpgoyetteSUBDIR+=	viomb
5091.179SpgoyetteSUBDIR+=	virtio
5101.205SjakllschSUBDIR+=	virtio_pci
5111.190SjdolecekSUBDIR+=	vioscsi
5121.179Spgoyette.endif
5131.179Spgoyette
5141.154SpgoyetteSUBDIR+=	examples	# build these regularly to avoid bit-rot
5151.154Spgoyette
5161.282Smrg.endif
5171.282Smrg
5181.1Sad.include <bsd.subdir.mk>
519