mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rohieb@rohieb.name>
To: ptxdist@pengutronix.de, Oleksij Rempel <linux@rempel-privat.de>
Cc: mkl@pengutronix.de
Subject: Re: [ptxdist] [PATCH] add initial version of host-openocd package
Date: Tue, 17 Jan 2017 15:56:55 +0100	[thread overview]
Message-ID: <a1fd0724-09e5-a589-3895-ff6d2b05cade@rohieb.name> (raw)
In-Reply-To: <1484659357-20659-1-git-send-email-fixed-term.Oleksij.Rempel@de.bosch.com>

Hi,

On 17.01.2017 14:22, fixed-term.Oleksij.Rempel@de.bosch.com wrote:
> From: Oleksij Rempel <linux@rempel-privat.de>
> 
> openocd 0.10.0-rc2
> 
> Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
> ---
>  rules/host-openocd.in   |  8 ++++++++
>  rules/host-openocd.make | 37 +++++++++++++++++++++++++++++++++++++
>  2 files changed, 45 insertions(+)
>  create mode 100644 rules/host-openocd.in
>  create mode 100644 rules/host-openocd.make
> 
> diff --git a/rules/host-openocd.in b/rules/host-openocd.in
> new file mode 100644
> index 0000000..64e50b2
> --- /dev/null
> +++ b/rules/host-openocd.in
> @@ -0,0 +1,8 @@
> +## SECTION=hosttools
> +
> +menuconfig HOST_OPENOCD
> +	tristate
> +	default ALLYES
> +	prompt "host-side openocd             "
> +	select HOST_GLIB
> +	select HOST_LIBUSB
> diff --git a/rules/host-openocd.make b/rules/host-openocd.make
> new file mode 100644
> index 0000000..ba894ed
> --- /dev/null
> +++ b/rules/host-openocd.make
> @@ -0,0 +1,37 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2016 by Oleksij Rempel <linux@rempel-privat.de>
> +#
> +# 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
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_OPENOCD) += host-openocd
> +
> +#
> +# Paths and names
> +#
> +HOST_OPENOCD_VERSION	:= 0.10.0-rc2
> +HOST_OPENOCD_MD5	:= b5ac2a635e89186779c51a9cbdc01161
> +HOST_OPENOCD		:= openocd-$(HOST_OPENOCD_VERSION)
> +HOST_OPENOCD_SUFFIX	:= tar.bz2
> +HOST_OPENOCD_URL	:= https://downloads.sourceforge.net/project/openocd/openocd/$(HOST_OPENOCD_VERSION)/$(HOST_OPENOCD).$(HOST_OPENOCD_SUFFIX)
> +HOST_OPENOCD_SOURCE	:= $(SRCDIR)/$(HOST_OPENOCD).$(HOST_OPENOCD_SUFFIX)
> +HOST_OPENOCD_DIR	:= $(HOST_BUILDDIR)/$(HOST_OPENOCD)
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +
> +HOST_OPENOCD_CONF_TOOL	:= autoconf

Well, that was short and easy :) But I see various enable/disable flags
in the configure help that default to "auto" and are not handled here in
the Makefile. These flags should be included for the build to be
reproducible, or have you checked that they don't depend on the build
order of the system? In any case, it is probably a good idea to include
any configure options in the menu to let the user choose the feature set
(i.e., memory footprint, and additional dependencies, if any).

 - Roland

> +
> +# vim: syntax=make
> 


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2017-01-17 14:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-17 13:22 fixed-term.Oleksij.Rempel
2017-01-17 14:56 ` Roland Hieber [this message]
2017-01-18 21:12   ` Andreas Pretzsch
2017-01-19  5:10     ` fixed-term.Oleksij.Rempel

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=a1fd0724-09e5-a589-3895-ff6d2b05cade@rohieb.name \
    --to=rohieb@rohieb.name \
    --cc=linux@rempel-privat.de \
    --cc=mkl@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