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.
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
IRQBALANCE_SITE = $(call github,irqbalance,irqbalance,$(IRQBALANCE_VERSION))
IRQBALANCE_LICENSE = GPL-2.0
IRQBALANCE_LICENSE_FILES = COPYING
-IRQBALANCE_DEPENDENCIES = host-pkgconf
+IRQBALANCE_DEPENDENCIES = host-pkgconf libglib2
# Autoreconf needed because package is distributed without a configure script
IRQBALANCE_AUTORECONF = YES
+# Local implementation of glib2 will be used if --without-glib2 is set
+IRQBALANCE_CONF_OPTS = --with-glib2
+
ifeq ($(BR2_PACKAGE_NUMACTL),y)
IRQBALANCE_DEPENDENCIES += numactl
IRQBALANCE_CONF_OPTS += --enable-numa