From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Wz4qa-0001Yo-FI for ptxdist@pengutronix.de; Mon, 23 Jun 2014 16:03:48 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1Wz4qa-0005za-Dc for ptxdist@pengutronix.de; Mon, 23 Jun 2014 16:03:48 +0200 Date: Mon, 23 Jun 2014 16:03:48 +0200 From: Michael Olbrich Message-ID: <20140623140348.GA21175@pengutronix.de> References: <1403422869-13390-1-git-send-email-m.grzeschik@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1403422869-13390-1-git-send-email-m.grzeschik@pengutronix.de> Subject: Re: [ptxdist] [PATCH 1/3] host-libftdi1: add new package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Sun, Jun 22, 2014 at 09:41:07AM +0200, Michael Grzeschik wrote: > Signed-off-by: Michael Grzeschik > --- > 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 > +# > +# 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