aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2013-06-20 10:25:05 -0700
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-06-27 13:40:20 -0400
commit1fd6f2aa87c743f74e2eca24ad23101586a0103c (patch)
tree6657004e520ab9b15adb504a06cb361ea4e63b61
parent16811e532c0d38a4b0d3a4abcac4c25d8b3cc3f3 (diff)
irqbalance: disable numa by default
Create a PACKAGECONFIG[] for numa. This will disable it by default. The current behavior is auto-detect and will vary depending on when numactl is built. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-extended/irqbalance/irqbalance.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-extended/irqbalance/irqbalance.inc b/recipes-extended/irqbalance/irqbalance.inc
index c076913..789cc9b 100644
--- a/recipes-extended/irqbalance/irqbalance.inc
+++ b/recipes-extended/irqbalance/irqbalance.inc
@@ -24,6 +24,14 @@ inherit update-rc.d
EXTRA_OECONF = "--program-transform-name= \
"
+# let the recipes or appends define options
+#
+PACKAGECONFIG ?= ""
+
+# enable,disable,depends,rdepends
+#
+PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl,"
+
do_install () {
oe_runmake 'DESTDIR=${D}' install
install -d ${D}${sysconfdir}/init.d