mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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>
This commit is contained in:
parent
34a127f3c5
commit
1affa9e292
|
@ -30,6 +30,7 @@ PACKAGECONFIG ?= ""
|
|||
# enable,disable,depends,rdepends
|
||||
#
|
||||
PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl,"
|
||||
PACKAGECONFIG[libcap-ng] = "--with-libcap-ng,--without-libcap-ng,libcap-ng,"
|
||||
|
||||
do_install () {
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
Subject: [PATCH] grasp withval for libcap-ng
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Ming Liu <ming.liu@windriver.com>
|
||||
---
|
||||
configure.ac | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff -urpN a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -61,7 +61,10 @@ AS_IF(
|
||||
AM_CONDITIONAL([LOCAL_GLIB], [test "x$local_glib2" = "xyes"])
|
||||
|
||||
AC_ARG_WITH([libcap-ng],
|
||||
- AS_HELP_STRING([libcap-ng], [Add libcap-ng-support @<:@default=auto@:>@]))
|
||||
+ [AS_HELP_STRING([libcap-ng], [Add libcap-ng-support @<:@default=auto@:>@])],
|
||||
+ [libcap_ng=$withval],
|
||||
+ [libcap_ng=$withval]
|
||||
+)
|
||||
|
||||
AS_IF(
|
||||
[test "x$libcap_ng" != "xno"],
|
|
@ -12,4 +12,5 @@ SRC_URI[sha256sum] = "95ac79992e6de501f613c781b0fc8aa17a4aaf6a3d865bb6e15ac6a46c
|
|||
SRC_URI = "http://irqbalance.googlecode.com/files/irqbalance-${PV}.tar.gz \
|
||||
file://add-initscript.patch \
|
||||
file://irqbalance-Add-status-and-reload-commands.patch \
|
||||
file://fix-configure-libcap-ng.patch \
|
||||
"
|
||||
|
|
Loading…
Reference in New Issue
Block a user