From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=localhost) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jrHq2-0007vK-Rs for ptxdist@pengutronix.de; Fri, 03 Jul 2020 11:18:30 +0200 Message-ID: <275441b3ba26e941e8e90c66e0a1f59917bddde7.camel@pengutronix.de> From: Lucas Stach Date: Fri, 03 Jul 2020 11:18:30 +0200 In-Reply-To: <20200703090829.GB24749@pengutronix.de> References: <20200629081326.29335-1-o.rempel@pengutronix.de> <20200629081326.29335-2-o.rempel@pengutronix.de> <20200703090829.GB24749@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [PATCH v1 2/2] ethtool: build out-of-tree 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 Am Freitag, den 03.07.2020, 11:08 +0200 schrieb Michael Olbrich: > On Mon, Jun 29, 2020 at 10:13:26AM +0200, Oleksij Rempel wrote: > > Make it easier to work with git source shared between different BSPs. > > > > Signed-off-by: Oleksij Rempel > > --- > > rules/ethtool.make | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/rules/ethtool.make b/rules/ethtool.make > > index 649e3e580..d8b957123 100644 > > --- a/rules/ethtool.make > > +++ b/rules/ethtool.make > > @@ -22,6 +22,7 @@ ETHTOOL := ethtool-$(ETHTOOL_VERSION) > > ETHTOOL_URL := $(call ptx/mirror, KERNEL, ../software/network/ethtool/$(ETHTOOL).$(ETHTOOL_SUFFIX)) > > ETHTOOL_SOURCE := $(SRCDIR)/$(ETHTOOL).$(ETHTOOL_SUFFIX) > > ETHTOOL_DIR := $(BUILDDIR)/$(ETHTOOL) > > +ETHTOOL_BUILD_OOT := YES > > I don't want to do this for random packages. I've done it for the kernel > because it's more complex there. But in this case you can just create a > rules/post/ethtool-fixup.make and add the line there locally. While looking into something different I noticed that the pre/post rules mechanism isn't really documented anywhere, but I don't really feel confident to type a documentation patch myself. Would be nice if someone with a solid understanding of this could add some bits to the ptxdist docs. Regards Lucas _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de