diff options
author | Jianchuan Wang <jianchuan.wang@windriver.com> | 2015-09-06 14:43:24 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-09-08 10:01:30 -0400 |
commit | 1affa9e292ff0cb0e6002c1640d90a26a7ab642c (patch) | |
tree | 78562aa4b1ce389f18c94f6ef7a2f2b7272af26b | |
parent | 34a127f3c52550f6ec903e22356a5d772a32bbed (diff) | |
download | meta-virtualization-1affa9e292ff0cb0e6002c1640d90a26a7ab642c.tar.gz |
irqbalance: add PACKAGECONFIG for libcap-ng
Grasp withval for libcap-ng in configure.ac.
Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-extended/irqbalance/irqbalance.inc | 1 | ||||
-rw-r--r-- | recipes-extended/irqbalance/irqbalance/fix-configure-libcap-ng.patch | 24 | ||||
-rw-r--r-- | recipes-extended/irqbalance/irqbalance_1.0.6.bb | 1 |
3 files changed, 26 insertions, 0 deletions
diff --git a/recipes-extended/irqbalance/irqbalance.inc b/recipes-extended/irqbalance/irqbalance.inc index c20840df..10265c96 100644 --- a/recipes-extended/irqbalance/irqbalance.inc +++ b/recipes-extended/irqbalance/irqbalance.inc | |||
@@ -30,6 +30,7 @@ PACKAGECONFIG ?= "" | |||
30 | # enable,disable,depends,rdepends | 30 | # enable,disable,depends,rdepends |
31 | # | 31 | # |
32 | PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl," | 32 | PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl," |
33 | PACKAGECONFIG[libcap-ng] = "--with-libcap-ng,--without-libcap-ng,libcap-ng," | ||
33 | 34 | ||
34 | do_install () { | 35 | do_install () { |
35 | oe_runmake 'DESTDIR=${D}' install | 36 | oe_runmake 'DESTDIR=${D}' install |
diff --git a/recipes-extended/irqbalance/irqbalance/fix-configure-libcap-ng.patch b/recipes-extended/irqbalance/irqbalance/fix-configure-libcap-ng.patch new file mode 100644 index 00000000..5be52434 --- /dev/null +++ b/recipes-extended/irqbalance/irqbalance/fix-configure-libcap-ng.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Subject: [PATCH] grasp withval for libcap-ng | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Ming Liu <ming.liu@windriver.com> | ||
6 | --- | ||
7 | configure.ac | 5 ++++- | ||
8 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
9 | |||
10 | diff -urpN a/configure.ac b/configure.ac | ||
11 | --- a/configure.ac | ||
12 | +++ b/configure.ac | ||
13 | @@ -61,7 +61,10 @@ AS_IF( | ||
14 | AM_CONDITIONAL([LOCAL_GLIB], [test "x$local_glib2" = "xyes"]) | ||
15 | |||
16 | AC_ARG_WITH([libcap-ng], | ||
17 | - AS_HELP_STRING([libcap-ng], [Add libcap-ng-support @<:@default=auto@:>@])) | ||
18 | + [AS_HELP_STRING([libcap-ng], [Add libcap-ng-support @<:@default=auto@:>@])], | ||
19 | + [libcap_ng=$withval], | ||
20 | + [libcap_ng=$withval] | ||
21 | +) | ||
22 | |||
23 | AS_IF( | ||
24 | [test "x$libcap_ng" != "xno"], | ||
diff --git a/recipes-extended/irqbalance/irqbalance_1.0.6.bb b/recipes-extended/irqbalance/irqbalance_1.0.6.bb index fd08b73f..ed0249a9 100644 --- a/recipes-extended/irqbalance/irqbalance_1.0.6.bb +++ b/recipes-extended/irqbalance/irqbalance_1.0.6.bb | |||
@@ -12,4 +12,5 @@ SRC_URI[sha256sum] = "95ac79992e6de501f613c781b0fc8aa17a4aaf6a3d865bb6e15ac6a46c | |||
12 | SRC_URI = "http://irqbalance.googlecode.com/files/irqbalance-${PV}.tar.gz \ | 12 | SRC_URI = "http://irqbalance.googlecode.com/files/irqbalance-${PV}.tar.gz \ |
13 | file://add-initscript.patch \ | 13 | file://add-initscript.patch \ |
14 | file://irqbalance-Add-status-and-reload-commands.patch \ | 14 | file://irqbalance-Add-status-and-reload-commands.patch \ |
15 | file://fix-configure-libcap-ng.patch \ | ||
15 | " | 16 | " |