mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Guillermo Rodríguez" <guille.rodriguez@gmail.com>
Subject: Re: [ptxdist] [PATCH] imx-kobs: New package
Date: Tue, 23 Oct 2018 15:09:41 +0200	[thread overview]
Message-ID: <20181023130941.jbn3srrsskbtnvr2@pengutronix.de> (raw)
In-Reply-To: <1540286616-13784-1-git-send-email-guille.rodriguez@gmail.com>

On Tue, Oct 23, 2018 at 11:23:36AM +0200, Guillermo Rodríguez wrote:
> The imx-kobs tool is used to create and write i.MX NAND boot
> related boot data structures to NAND flash.
> 
> Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
> ---
>  rules/imx-kobs.in   |  8 ++++++++
>  rules/imx-kobs.make | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 61 insertions(+)
>  create mode 100644 rules/imx-kobs.in
>  create mode 100644 rules/imx-kobs.make
> 
> diff --git a/rules/imx-kobs.in b/rules/imx-kobs.in
> new file mode 100644
> index 0000000..e00ca24
> --- /dev/null
> +++ b/rules/imx-kobs.in
> @@ -0,0 +1,8 @@
> +## SECTION=shell_and_console
> +
> +config IMX_KOBS
> +	tristate
> +	prompt "imx-kobs"
> +	help
> +	  The imx-kobs tool is used to create and write i.MX NAND boot
> +	  related boot data structures to NAND flash.
> diff --git a/rules/imx-kobs.make b/rules/imx-kobs.make
> new file mode 100644
> index 0000000..49380c2
> --- /dev/null
> +++ b/rules/imx-kobs.make
> @@ -0,0 +1,53 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2018 by Guillermo Rodriguez <guille.rodriguez@gmail.com>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_IMX_KOBS) += imx-kobs
> +
> +#
> +# Paths and names
> +#
> +IMX_KOBS_VERSION	:= 5.5
> +IMX_KOBS_SUFFIX		:= tar.gz
> +IMX_KOBS_MD5		:= 48ed9e69e9527d2e98b5cfcbf133d75b
> +IMX_KOBS		:= imx-kobs-$(IMX_KOBS_VERSION)
> +IMX_KOBS_URL		:= http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/$(IMX_KOBS).$(IMX_KOBS_SUFFIX)
> +IMX_KOBS_DIR		:= $(BUILDDIR)/$(IMX_KOBS)
> +IMX_KOBS_SOURCE		:= $(SRCDIR)/$(IMX_KOBS).$(IMX_KOBS_SUFFIX)
> +IMX_KOBS_LICENSE	:= GPLv2
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +IMX_KOBS_CONF_TOOL	:= autoconf

You need to set the configure options and include
$(GLOBAL_LARGE_FILE_OPTION).

The rest has already been commented on by others.

Michael

> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/imx-kobs.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, imx-kobs)
> +	@$(call install_fixup, imx-kobs, PRIORITY, optional)
> +	@$(call install_fixup, imx-kobs, SECTION, base)
> +	@$(call install_fixup, imx-kobs, AUTHOR, "Guillermo Rodriguez <guille.rodriguez@gmail.com>")
> +	@$(call install_fixup, imx-kobs, DESCRIPTION, missing)
> +
> +	@$(call install_copy, imx-kobs, 0, 0, 0755, -, /usr/bin/kobs-ng)
> +
> +	@$(call install_finish, imx-kobs)
> +
> +	@$(call touch)
> +	
> +# vim: syntax=make	
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2018-10-23 13:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-23  9:23 Guillermo Rodríguez
2018-10-23 10:59 ` Alexander Dahl
2018-10-23 11:41   ` Alexander Dahl
2018-10-23 12:38   ` Guillermo Rodriguez Garcia
2018-10-23 12:43     ` Uwe Kleine-König
2018-10-23 12:48     ` Alexander Dahl
2018-10-23 13:09 ` Michael Olbrich [this message]
2018-10-23 14:17 ` [ptxdist] [PATCH v2] " Guillermo Rodríguez
2018-10-23 15:09   ` Alexander Dahl
2018-10-23 15:10   ` Ladislav Michl
2018-10-23 15:30     ` Guillermo Rodriguez Garcia

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=20181023130941.jbn3srrsskbtnvr2@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=guille.rodriguez@gmail.com \
    --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