mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] host-libcap: disable gperf dependency
@ 2017-02-09 14:26 Clemens Gruber
  2017-02-09 14:26 ` [ptxdist] [PATCH] libcap: make host-gperf dependency explicit Clemens Gruber
  0 siblings, 1 reply; 2+ messages in thread
From: Clemens Gruber @ 2017-02-09 14:26 UTC (permalink / raw)
  To: ptxdist; +Cc: Clemens Gruber

Fixes a build error when the implicit dependency host-gperf is not
available.
As it is only an optimization used at build-time of other ptxdist
packages, we can disable gperf support.

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 rules/host-libcap.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/host-libcap.make b/rules/host-libcap.make
index 251f2d56b..e5c456382 100644
--- a/rules/host-libcap.make
+++ b/rules/host-libcap.make
@@ -18,7 +18,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_LIBCAP) += host-libcap
 # Prepare
 # ----------------------------------------------------------------------------
 
-HOST_LIBCAP_MAKE_OPT := prefix= PAM_CAP=no LIBATTR=no lib=lib
+HOST_LIBCAP_MAKE_OPT := prefix= BUILD_GPERF=no PAM_CAP=no LIBATTR=no lib=lib
 HOST_LIBCAP_INSTALL_OPT := $(HOST_LIBCAP_MAKE_OPT) RAISE_SETFCAP=no install
 
 # vim: syntax=make
-- 
2.11.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ptxdist] [PATCH] libcap: make host-gperf dependency explicit
  2017-02-09 14:26 [ptxdist] [PATCH] host-libcap: disable gperf dependency Clemens Gruber
@ 2017-02-09 14:26 ` Clemens Gruber
  0 siblings, 0 replies; 2+ messages in thread
From: Clemens Gruber @ 2017-02-09 14:26 UTC (permalink / raw)
  To: ptxdist; +Cc: Clemens Gruber

Keep using gperf to optimize cap lookups at runtime, but make the
dependency on host-gperf explicit.

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 rules/libcap.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/libcap.in b/rules/libcap.in
index 767b4f412..6262467d1 100644
--- a/rules/libcap.in
+++ b/rules/libcap.in
@@ -2,6 +2,7 @@
 
 menuconfig LIBCAP
 	tristate
+	select HOST_GPERF
 	prompt "libcap                        "
 	help
 	  A library for getting and setting POSIX.1e capabilities.
-- 
2.11.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-09 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-09 14:26 [ptxdist] [PATCH] host-libcap: disable gperf dependency Clemens Gruber
2017-02-09 14:26 ` [ptxdist] [PATCH] libcap: make host-gperf dependency explicit Clemens Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox