diff options
author | Ross Burton <ross.burton@intel.com> | 2017-04-25 17:07:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-28 11:32:21 +0100 |
commit | abaaeeff07c88fb52a4fa70d33ed6c7946d086b2 (patch) | |
tree | 285a7f04dcf3ee28ea765f71ed5d17cf39460c67 | |
parent | bf901ae5a467c91758a894d4901bda93c3031bd0 (diff) | |
download | openembedded-core-abaaeeff07c88fb52a4fa70d33ed6c7946d086b2.tar.gz openembedded-core-abaaeeff07c88fb52a4fa70d33ed6c7946d086b2.tar.bz2 openembedded-core-abaaeeff07c88fb52a4fa70d33ed6c7946d086b2.zip |
libcap: clean up gperf enabling logic
There's no need to sed the Makefile (especially the wrong Makefile) when there's
a variable we can pass.
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/recipes-support/libcap/libcap_2.25.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-support/libcap/libcap_2.25.bb b/meta/recipes-support/libcap/libcap_2.25.bb index 0587e77e98..5c2765f343 100644 --- a/meta/recipes-support/libcap/libcap_2.25.bb +++ b/meta/recipes-support/libcap/libcap_2.25.bb @@ -22,9 +22,6 @@ do_configure() { # on what should be replaced with ?= sed -e 's,:=,?=,g' -i Make.Rules sed -e 's,^BUILD_CFLAGS ?= $(.*CFLAGS),BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules - - # disable gperf detection - sed -e '/shell gperf/cifeq (,yes)' -i libcap/Makefile } PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" @@ -37,6 +34,7 @@ EXTRA_OEMAKE = " \ lib=${@os.path.basename('${libdir}')} \ RAISE_SETFCAP=no \ DYNAMIC=yes \ + BUILD_GPERF=yes \ " EXTRA_OEMAKE_append_class-target = " SYSTEM_HEADERS=${STAGING_INCDIR}" |