From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jrI1o-00015R-F5 for ptxdist@pengutronix.de; Fri, 03 Jul 2020 11:30:40 +0200 Received: from mol by dude02.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jrI1o-0008K5-6z for ptxdist@pengutronix.de; Fri, 03 Jul 2020 11:30:40 +0200 Date: Fri, 3 Jul 2020 11:30:40 +0200 From: Michael Olbrich Message-ID: <20200703093040.GE24749@pengutronix.de> References: <20200703084342.GA154165@lenoch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200703084342.GA154165@lenoch> Subject: Re: [ptxdist] [PATCH] host-libcap: disable go binding List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Fri, Jul 03, 2020 at 10:43:42AM +0200, ladis@linux-mips.org wrote: > It is not needed and saves compilation time. > > Signed-off-by: Ladislav Michl > --- > 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. Hu, I probably never noticed because I don't have the necessary go stuff installed. But either reasons is good, so I've queued this now. Michael > 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 > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de