From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 1/3] host-libftdi1: add new package
Date: Mon, 23 Jun 2014 16:03:48 +0200 [thread overview]
Message-ID: <20140623140348.GA21175@pengutronix.de> (raw)
In-Reply-To: <1403422869-13390-1-git-send-email-m.grzeschik@pengutronix.de>
On Sun, Jun 22, 2014 at 09:41:07AM +0200, Michael Grzeschik wrote:
> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
> ---
> rules/host-libftdi1.in | 7 +++++++
> rules/host-libftdi1.make | 27 +++++++++++++++++++++++++++
> 2 files changed, 34 insertions(+)
> create mode 100644 rules/host-libftdi1.in
> create mode 100644 rules/host-libftdi1.make
>
> diff --git a/rules/host-libftdi1.in b/rules/host-libftdi1.in
> new file mode 100644
> index 0000000..ee800c8
> --- /dev/null
> +++ b/rules/host-libftdi1.in
> @@ -0,0 +1,7 @@
> +## SECTION=hosttools_noprompt
> +## SECTION=hosttools_platform
Don't add this unless it's used in the platform
> +
> +config HOST_LIBFTDI1
> + tristate
> + select HOST_CMAKE
> + default ALLYES
> diff --git a/rules/host-libftdi1.make b/rules/host-libftdi1.make
> new file mode 100644
> index 0000000..7ae6f8a
> --- /dev/null
> +++ b/rules/host-libftdi1.make
> @@ -0,0 +1,27 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2014 by Michael Grzeschik <mgr@pengutronix.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_LIBFTDI1) += host-libftdi1
> +
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
> +HOST_LIBFTDI1_CONF_TOOL := cmake
> +HOST_LIBFTDI1_CONF_OPT := \
> + $(HOST_CMAKE_USR) \
> + -DCMAKE_SKIP_RPATH=ON \
I don't think that this is correct for host packages.
> + -DDOCUMENTATION=OFF \
> + -DPYTHON_BINDINGS=OFF \
> + -DEXAMPLES=$(call ptx/ifdef,PTXCONF_LIBFTDI1_EXAMPLES,ON,OFF) \
> + -DFTDIPP=$(call ptx/ifdef,PTXCONF_LIBFTDI1_CPP_WRAPPER,ON,OFF) \
> + -DFTDI_EEPROM=$(call ptx/ifdef,PTXCONF_LIBFTDI1_FTDI_EEPROM,ON,OFF)
Don't use the options for the target package. Choose sane defaults.
Michael
> +
> +
> +# vim: syntax=make
> --
> 2.0.0
>
>
> --
> 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
prev parent reply other threads:[~2014-06-23 14:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-22 7:41 Michael Grzeschik
2014-06-22 7:41 ` [ptxdist] [PATCH 2/3] host-libusb-compat: " Michael Grzeschik
2014-06-23 14:06 ` Michael Olbrich
2014-06-22 7:41 ` [ptxdist] [PATCH 3/3] host-openocd: " Michael Grzeschik
2014-06-23 14:09 ` Michael Olbrich
2014-09-29 17:27 ` Andreas Pretzsch
2014-06-23 14:03 ` Michael Olbrich [this message]
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=20140623140348.GA21175@pengutronix.de \
--to=m.olbrich@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