From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPLpC-0005wq-9Z for ptxdist@pengutronix.de; Fri, 17 Apr 2020 09:54:10 +0200 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1jPLpB-0003jG-UF for ptxdist@pengutronix.de; Fri, 17 Apr 2020 09:54:09 +0200 Date: Fri, 17 Apr 2020 09:54:09 +0200 From: Marco Felsch Message-ID: <20200417075409.byziauc5fewnuiv2@pengutronix.de> References: <20200410103515.14006-1-m.felsch@pengutronix.de> <20200410103515.14006-2-m.felsch@pengutronix.de> <20200417063635.GF2081@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200417063635.GF2081@pengutronix.de> Subject: Re: [ptxdist] [PATCH 2/2] tslib: convert to install_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 On 20-04-17 08:36, Michael Olbrich wrote: > On Fri, Apr 10, 2020 at 12:35:15PM +0200, Marco Felsch wrote: > > Convert manual plugin search function to install_tree call to clean up > > the recipe. > > > > Signed-off-by: Marco Felsch > > --- > > Hi Michael, > > > > this patch can be squashed with the 1st if you want. > > > > Regards, > > Marco > > > > rules/tslib.make | 5 +---- > > 1 file changed, 1 insertion(+), 4 deletions(-) > > > > diff --git a/rules/tslib.make b/rules/tslib.make > > index 5ee46aa4c..e52e62520 100644 > > --- a/rules/tslib.make > > +++ b/rules/tslib.make > > @@ -86,6 +86,7 @@ $(STATEDIR)/tslib.targetinstall: > > /etc/ts.conf) > > > > @$(call install_lib, tslib, 0, 0, 0644, libts) > > + @$(call install_tree, tslib, 0, 0, 0644, -, /usr/lib/ts) > > @$(call install_tree, tslib, 0, 0, 0644, /usr/lib/ts) Is that possible? According the docs [1] this shouldn't be possible. [1] https://ptxdist.org/doc/ref_manual.html?highlight=install_tree#install-tree Regards, Marco > Michael > > > > > ifdef PTXCONF_TSLIB_TS_CALIBRATE > > @$(call install_copy, tslib, 0, 0, 0755, -, /usr/bin/ts_calibrate) > > @@ -94,10 +95,6 @@ ifdef PTXCONF_TSLIB_TS_TEST > > @$(call install_copy, tslib, 0, 0, 0755, -, /usr/bin/ts_test) > > endif > > > > - @cd $(TSLIB_PKGDIR) && for plugin in `find usr/lib/ts -name "*.so"`; do \ > > - $(call install_copy, tslib, 0, 0, 0644, -, /$$plugin); \ > > - done > > - > > @$(call install_finish, tslib) > > > > @$(call touch) > > -- > > 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de