From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jHVBE-0004OZ-7m for ptxdist@pengutronix.de; Thu, 26 Mar 2020 17:16:28 +0100 Received: from mol by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jHVBD-0007Wf-VV for ptxdist@pengutronix.de; Thu, 26 Mar 2020 17:16:27 +0100 Date: Thu, 26 Mar 2020 17:16:27 +0100 From: Michael Olbrich Message-ID: <20200326161627.GA20273@pengutronix.de> References: <20200324145205.32370-1-Denis.Osterland@diehl.com> <20200324145205.32370-4-Denis.Osterland@diehl.com> <20200325183349.gxsi65oydu5p2gbt@pengutronix.de> <4bbeedb1ee8002429112063b2dc67244f667fa19.camel@diehl.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4bbeedb1ee8002429112063b2dc67244f667fa19.camel@diehl.com> Subject: Re: [ptxdist] [RFC PATCH 3/3] host-mfgtools: new package 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Thu, Mar 26, 2020 at 08:28:26AM +0000, Denis Osterland-Heim wrote: > Hi Roland, > = > sorry for the confusion yesterday, seems it was to late for me... > = > Am Mittwoch, den 25.03.2020, 19:33 +0100 schrieb Roland Hieber: > > On Tue, Mar 24, 2020 at 02:53:23PM +0000, Denis Osterland-Heim wrote: > > > Tool to USB boot i.MX systems from NXP via Android fastboot. > > > = > > > Signed-off-by: Denis Osterland-Heim > > > --- > > > rules/host-mfgtools.in | 13 ++++++++++++ > > > rules/host-mfgtools.make | 43 ++++++++++++++++++++++++++++++++++++++= ++ > > > 2 files changed, 56 insertions(+) > > > create mode 100644 rules/host-mfgtools.in > > > create mode 100644 rules/host-mfgtools.make > > > = > > > diff --git a/rules/host-mfgtools.in b/rules/host-mfgtools.in > > > new file mode 100644 > > > index 000000000..c9046f10d > > > --- /dev/null > > > +++ b/rules/host-mfgtools.in > > > @@ -0,0 +1,13 @@ > > > +## SECTION=3Dhosttools > > > + > > > +config HOST_MFGTOOLS > > > + tristate > > > + default y if ALLYES > > > + prompt "uuu (Universal Update Utility), mfgtools 3.0" > > > + select HOST_CMAKE > > > + select HOST_LIBUSB > > > + select HOST_ZLIB > > > + select HOST_BZIP2 > > > + select HOST_LIBZIP > > > + help > > > + Freescale/NXP I.MX Chip image deploy tools. > > > diff --git a/rules/host-mfgtools.make b/rules/host-mfgtools.make > > > new file mode 100644 > > > index 000000000..fb4b2cf05 > > > --- /dev/null > > > +++ b/rules/host-mfgtools.make > > > @@ -0,0 +1,43 @@ > > > +# -*-makefile-*- > > > +# > > > +# Copyright (C) 2020 by Denis Osterland-Heim > > > +# > > > +# For further information about the PTXdist project and license cond= itions > > > +# see the README file. > > > +# > > > + > > > +HOST_PACKAGES-$(PTXCONF_HOST_MFGTOOLS) +=3D host-mfgtools > > > + > > > +# > > > +# Paths and names > > > +# > > > +HOST_MFGTOOLS_VERSION :=3D 1.3.136-9-g47ddef5 > > = > > Apparently this commit was released a few days ago as version 1.3.154: > > > I have already changed it locally, v2 will come ;-) > = > > = > > > +HOST_MFGTOOLS_MD5 :=3D 1555253943e1f39746694365c7f89eb1 > > > +HOST_MFGTOOLS :=3D mfgtools-$(HOST_MFGTOOLS_VERSION) > > > +HOST_MFGTOOLS_SUFFIX :=3D tar.gz > > > +HOST_MFGTOOLS_URL :=3D https://github.com/NXPmicro/mfgtools.git;tag= =3D47ddef51d6c24b1f917f348d0f62b4af38852994 > > = > > So you can use the default release tarball here, and use the default > > extract stage below. > Not yet, but hopefully with next version. = > > = > > > +HOST_MFGTOOLS_SOURCE :=3D $(SRCDIR)/$(HOST_MFGTOOLS).$(HOST_MFGTOOLS= _SUFFIX) > > > +HOST_MFGTOOLS_DIR :=3D $(HOST_BUILDDIR)/$(HOST_MFGTOOLS) > > > +HOST_MFGTOOLS_LICENSE :=3D BSD-3-Clause > > > +HOST_MFGTOOLS_LICENSE_FILES :=3D \ > > > + file://LICENSE;md5=3D38ec0c18112e9a92cffc4951661e85a5 > > > + > > > +# ------------------------------------------------------------------= ---------- > > > +# Extract > > > +# ------------------------------------------------------------------= ---------- > > > + > > > +$(STATEDIR)/host-mfgtools.extract: > > > + @$(call targetinfo) > > > + @$(call clean, $(HOST_MFGTOOLS_DIR)) > > > + @$(call extract, HOST_MFGTOOLS) > > > + @echo "uuu_$(HOST_MFGTOOLS_VERSION)" > $(HOST_MFGTOOLS_DIR)/.tarbal= l-version > > = > > NB: The released tarballs also don't have this file, is it really neede= d? > Unfortunately it is still need, until upstream generates a tarball with t= he file. > https://github.com/NXPmicro/mfgtools/issues/173 Do this in extract.post not extract. Michael > Regards Denis > = > > = > > - Roland > > = > > > + @$(call patchin, HOST_MFGTOOLS) > > > + @$(call touch) > > > + > > > +# ------------------------------------------------------------------= ---------- > > > +# Prepare > > > +# ------------------------------------------------------------------= ---------- > > > + > > > +HOST_MFGTOOLS_CONF_TOOL :=3D cmake > > > + > > > +# vim: syntax=3Dmake > > > -- = > > > 2.25.2 > > > = > > > = > > > = > > > Diehl Connectivity Solutions GmbH > > > Gesch=E4ftsf=FChrung: Horst Leonberger > > > Sitz der Gesellschaft: N=FCrnberg - Registergericht: Amtsgericht > > > N=FCrnberg: HRB 32315 > > > _____________________________________________________________________= ______________________________ > > > = > > > Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese= E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. > > > Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise e= rhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. > > > Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Vertei= lung und/oder Publikation dieser E-Mail ist strengstens untersagt. > > > - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhal= ten Sie unter https://www.diehl.com/group/de/transparenz-und-informationspf= lichten/ > > > = > > > The contents of the above mentioned e-mail is not legally binding. Th= is e-mail contains confidential and/or legally protected information. Pleas= e inform us if you have received this e-mail by > > > mistake and delete it in such a case. Each unauthorized reproduction,= disclosure, alteration, distribution and/or publication of this e-mail is = strictly prohibited. = > > > - For general information on data protection and your respective righ= ts please visit https://www.diehl.com/group/en/transparency-and-information= -obligations/ > > > = > > > _______________________________________________ > > > ptxdist mailing list > > > ptxdist@pengutronix.de > > > = > > = > > = > = > = > Diehl Connectivity Solutions GmbH > Gesch=E4ftsf=FChrung: Horst Leonberger > Sitz der Gesellschaft: N=FCrnberg - Registergericht: Amtsgericht > N=FCrnberg: HRB 32315 > _________________________________________________________________________= __________________________ > = > Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-M= ail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. > Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhal= ten haben. Bitte loeschen Sie in diesem Fall die Nachricht. > Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung= und/oder Publikation dieser E-Mail ist strengstens untersagt. > - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten = Sie unter https://www.diehl.com/group/de/transparenz-und-informationspflich= ten/ > = > The contents of the above mentioned e-mail is not legally binding. This e= -mail contains confidential and/or legally protected information. Please in= form us if you have received this e-mail by > mistake and delete it in such a case. Each unauthorized reproduction, dis= closure, alteration, distribution and/or publication of this e-mail is stri= ctly prohibited. = > - For general information on data protection and your respective rights p= lease visit https://www.diehl.com/group/en/transparency-and-information-obl= igations/ > _______________________________________________ > ptxdist mailing list > ptxdist@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