From: Jianxun Zhang <jianxun.zhang@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2][PROPOSED] libcap: remove dependency on attr
Date: Wed, 7 Sep 2016 14:42:39 -0700 [thread overview]
Message-ID: <1473284559-187471-3-git-send-email-jianxun.zhang@linux.intel.com> (raw)
In-Reply-To: <1473284559-187471-1-git-send-email-jianxun.zhang@linux.intel.com>
85f38a573fc47472ab792e813b6f6b6f0b1df112 in libcap drops
this dependency. Not seeing much necessity of using
EXTRA_OECONF (which doesn't seem effective) for the left,
we purge these code in libcap recipe.
Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
---
Limited test is performed by building this recipe individually.
Refer to the cover letter before merge.
meta/recipes-support/libcap/libcap_2.25.bb | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/meta/recipes-support/libcap/libcap_2.25.bb b/meta/recipes-support/libcap/libcap_2.25.bb
index bc29310..3b7876a 100644
--- a/meta/recipes-support/libcap/libcap_2.25.bb
+++ b/meta/recipes-support/libcap/libcap_2.25.bb
@@ -27,11 +27,8 @@ do_configure() {
sed -e '/shell gperf/cifeq (,yes)' -i libcap/Makefile
}
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}"
PACKAGECONFIG_class-native ??= ""
-PACKAGECONFIG[attr] = "LIBATTR=yes,LIBATTR=no,attr"
-
EXTRA_OEMAKE = " \
INDENT= \
lib=${@os.path.basename('${libdir}')} \
@@ -46,12 +43,11 @@ EXTRA_OEMAKE_append_class-target = " SYSTEM_HEADERS=${STAGING_INCDIR}"
CFLAGS += "-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
do_compile() {
- oe_runmake ${EXTRA_OECONF}
+ oe_runmake
}
do_install() {
oe_runmake install \
- ${EXTRA_OECONF} \
DESTDIR="${D}" \
prefix="${prefix}" \
SBINDIR="${sbindir}"
--
2.7.4
next prev parent reply other threads:[~2016-09-07 21:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-07 21:42 [PATCH 0/2][PROPOSED] libcap fix and update Jianxun Zhang
2016-09-07 21:42 ` [PATCH 1/2][PROPOSED] libcap: fix compiling issue when not having libpam Jianxun Zhang
2016-09-07 21:42 ` Jianxun Zhang [this message]
2016-09-08 8:43 ` [PATCH 0/2][PROPOSED] libcap fix and update Maxin B. John
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1473284559-187471-3-git-send-email-jianxun.zhang@linux.intel.com \
--to=jianxun.zhang@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox