diff options
| -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 | " |
