mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] host-libcap: disable go binding
@ 2020-07-03  8:43 ladis
  2020-07-03  9:30 ` Michael Olbrich
  2020-07-06  6:32 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 2 replies; 5+ messages in thread
From: ladis @ 2020-07-03  8:43 UTC (permalink / raw)
  To: ptxdist

It is not needed and saves compilation time.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 Hi,

 to be honest, the true motivation for this patch is:
   make[1]: Leaving directory '.../build-host/libcap-2.36/libcap'
   make -C go all
   make[1]: Entering directory '.../build-host/libcap-2.36/go'
   mkdir -p src/libcap
   make[1]: *** No rule to make target 'src/libcap/psx/psx.go', needed by 'pkg/linux_amd64/libcap/psx.a'.  Stop.
 I'm not sure what problem on Debian unstable is, so let's disable
 golang support.

 rules/host-libcap.make | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/rules/host-libcap.make b/rules/host-libcap.make
index 61df84778..d92882a16 100644
--- a/rules/host-libcap.make
+++ b/rules/host-libcap.make
@@ -16,7 +16,12 @@ HOST_PACKAGES-$(PTXCONF_HOST_LIBCAP) += host-libcap
 # Prepare
 # ----------------------------------------------------------------------------
 
-HOST_LIBCAP_MAKE_OPT := prefix= BUILD_GPERF=no PAM_CAP=no LIBATTR=no DYNAMIC=yes lib=lib
+HOST_LIBCAP_MAKE_OPT := prefix= lib=lib \
+	BUILD_GPERF=no \
+	PAM_CAP=no \
+	GOLANG=no \
+	LIBATTR=no \
+	DYNAMIC=yes
 HOST_LIBCAP_INSTALL_OPT := $(HOST_LIBCAP_MAKE_OPT) RAISE_SETFCAP=no install
 
 # vim: syntax=make
-- 
2.27.0

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

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

end of thread, other threads:[~2020-07-06  6:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03  8:43 [ptxdist] [PATCH] host-libcap: disable go binding ladis
2020-07-03  9:30 ` Michael Olbrich
2020-07-03  9:34   ` ladis
2020-07-03  9:40     ` Michael Olbrich
2020-07-06  6:32 ` [ptxdist] [APPLIED] " Michael Olbrich

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