config BR2_PACKAGE_IRQBALANCE
	bool "irqbalance"
	depends on BR2_USE_WCHAR # libglib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
	depends on BR2_USE_MMU # libglib2
	select BR2_PACKAGE_LIBGLIB2
	help
	  Irqbalance is a daemon to help balance the cpu load generated
	  by interrupts across all of a systems cpus.
	  Irqbalance identifies the highest volume interrupt sources,
	  and isolates them to a single unique cpu, so that load is
	  spread as much as possible over an entire processor set, while
	  minimizing cache hit rates for irq handlers.

	  https://github.com/Irqbalance/irqbalance

comment "irqbalance needs a toolchain w/ wchar, threads"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS

if BR2_PACKAGE_IRQBALANCE

config BR2_PACKAGE_IRQBALANCE_FORCE_CORE
	bool "use core balance level"
	default y
	help
	  Force using core balance level for all irqs.

config BR2_PACKAGE_IRQBALANCE_STATIC
	bool "Enable static"
	depends on BR2_PACKAGE_LIBGLIB2_STATIC
	default y if BR2_STATIC_LIBS

endif
