mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [RFC PATCH 1/3] imx-uuc: new package
Date: Wed, 25 Mar 2020 19:43:46 +0100	[thread overview]
Message-ID: <20200325184346.jbb3dt3nnj46bwbm@pengutronix.de> (raw)
In-Reply-To: <20200324145205.32370-2-Denis.Osterland@diehl.com>

On Tue, Mar 24, 2020 at 02:53:23PM +0000, Denis Osterland-Heim wrote:
> NXP user space util used by mfgtool.
> 
> Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> ---
>  rules/imx-uuc.in   |  7 ++++++
>  rules/imx-uuc.make | 62 ++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 69 insertions(+)
>  create mode 100644 rules/imx-uuc.in
>  create mode 100644 rules/imx-uuc.make
> 
> diff --git a/rules/imx-uuc.in b/rules/imx-uuc.in
> new file mode 100644
> index 000000000..ec0cbcd3a
> --- /dev/null
> +++ b/rules/imx-uuc.in
> @@ -0,0 +1,7 @@
> +## SECTION=communication
> +
> +config IMX_UUC
> +	tristate
> +	prompt "imx-uuc"
> +	help
> +	  A Daemon wait for Freescale/NXP mfgtools host's command.
> diff --git a/rules/imx-uuc.make b/rules/imx-uuc.make
> new file mode 100644
> index 000000000..d275ec8af
> --- /dev/null
> +++ b/rules/imx-uuc.make
> @@ -0,0 +1,62 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2016-2020 by Denis Osterland <Denis.Osterland@diehl.com>
> +#
> +# See CREDITS for details about who has contributed to this project.

This line keeps coming back to haunt us… :)
https://git.pengutronix.de/cgit/ptxdist/commit?h=cbd6bda680c6

> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +PACKAGES-$(PTXCONF_IMX_UUC) += imx-uuc
> +
> +#
> +# Paths and names
> +#
> +IMX_UUC_VERSION    := d6afb27e55d73d7ad08cd2dd51c784d8ec9694dc

Nitpick: I don't know how picky opkg-based systems are with having
monotonically increasing version numbers, but in case someone uses them
to update software, you could make them happy by providing a fake
'git describe' tag as a version:

IMX_UUC_VERSION_HASH    := d6afb27e55d73d7ad08cd2dd51c784d8ec9694dc
IMX_UUC_VERSION         := 

monotonically increasing version number instead of a randomly changing
hash. If you put something like '0.0-1-gd6afb27e55d73d7ad08cd2d', git
will still be able to extract the correct commit hash from it.

> +IMX_UUC_MD5        := 1a807ab59464385309b92794b43b5caa
> +IMX_UUC            := imx-uuc-$(IMX_UUC_VERSION)
> +IMX_UUC_SUFFIX     := tar.gz
> +IMX_UUC_URL        := https://github.com/NXPmicro/imx-uuc.git;tag=$(IMX_UUC_VERSION)
> +IMX_UUC_SOURCE     := $(SRCDIR)/$(IMX_UUC).$(IMX_UUC_SUFFIX)
> +IMX_UUC_DIR        := $(BUILDDIR)/$(IMX_UUC)
> +IMX_UUC_LICENSE    := GPL-2.0-or-later
> +IMX_UUC_LICENSE_FILES	:= \
> +	file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +IMX_UUC_CONF_TOOL	:= NO
> +
> +# ----------------------------------------------------------------------------
> +# Compile
> +# ----------------------------------------------------------------------------
> +
> +IMX_UUC_MAKE_ENV       := $(CROSS_ENV)
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/imx-uuc.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, imx-uuc)
> +	@$(call install_fixup, imx-uuc,PRIORITY,optional)
> +	@$(call install_fixup, imx-uuc,SECTION,base)
> +	@$(call install_fixup, imx-uuc,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
> +	@$(call install_fixup, imx-uuc,DESCRIPTION,missing)
> +
> +	@$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/uuc)
> +	@$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/ufb)
> +	@$(call install_copy, imx-uuc, 0, 0, 0755, -, /usr/bin/sdimage)
> +	@$(call install_alternative, imx-uuc, 0, 0, 0755, /linuxrc)

Upstream has a bold choice of config file locations...

 - Roland

> +	@$(call install_alternative, imx-uuc, 0, 0, 0644, /fat)
> +
> +	@$(call install_finish, imx-uuc)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make
> -- 
> 2.25.2
> 
> 
> 
> Diehl Connectivity Solutions GmbH
> Geschäftsführung: Horst Leonberger
> Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
> Nürnberg: 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 erhalten 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-informationspflichten/
> 
> The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please 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 rights please visit https://www.diehl.com/group/en/transparency-and-information-obligations/
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://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

  reply	other threads:[~2020-03-25 18:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-24 14:53 [ptxdist] [RFC PATCH 0/3] Freescale/NXP i.MX mfgtools 3.0 Denis Osterland-Heim
2020-03-24 14:53 ` [ptxdist] [RFC PATCH 2/3] host-libzip: new package Denis Osterland-Heim
2020-03-24 14:53 ` [ptxdist] [RFC PATCH 1/3] imx-uuc: " Denis Osterland-Heim
2020-03-25 18:43   ` Roland Hieber [this message]
2020-03-25 18:52     ` Roland Hieber
2020-03-25 20:40       ` Roland Hieber
2020-03-26  9:03         ` Denis Osterland-Heim
2020-03-26  9:47           ` rhi
2020-03-26 16:23           ` Michael Olbrich
2020-03-26 16:32             ` Denis Osterland-Heim
2020-03-26  9:59     ` Guillermo Rodriguez Garcia
2020-03-24 14:53 ` [ptxdist] [RFC PATCH 3/3] host-mfgtools: " Denis Osterland-Heim
2020-03-25 18:33   ` Roland Hieber
2020-03-26  8:28     ` Denis Osterland-Heim
2020-03-26 16:16       ` Michael Olbrich
2020-03-26 16:25         ` Denis Osterland-Heim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200325184346.jbb3dt3nnj46bwbm@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox