config BR2_PACKAGE_TRINITY_ARCH_SUPPORTS
	bool
	default y
	depends on BR2_USE_MMU # fork()
	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_val_compare_and_swap_4
	depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \
		BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 || \
		BR2_powerpc64le || BR2_sparc || BR2_x86_64

config BR2_PACKAGE_TRINITY
	bool "trinity"
	depends on BR2_PACKAGE_TRINITY_ARCH_SUPPORTS
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # IPV6_UNICAST_IF
	help
	  A Linux System call fuzz tester

	  https://github.com/kernelslacker/trinity

comment "trinity needs a toolchain w/ headers >= 3.4"
	depends on BR2_PACKAGE_TRINITY_ARCH_SUPPORTS
	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
