From mboxrd@z Thu Jan 1 00:00:00 1970 From: Romain Naour Date: Mon, 23 Sep 2013 13:08:57 +0200 (CEST) Subject: [Buildroot] [PATCH v1 1/1] Openpowerlink: new package In-Reply-To: <20130922155036.2d967c64@skate> Message-ID: <1712630978.7359309.1379934537810.JavaMail.root@openwide.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Thomas, ----- Mail original ----- | De: "Thomas Petazzoni" | ?: "Romain Naour" | Cc: "buildroot" | Envoy?: Dimanche 22 Septembre 2013 15:50:36 | Objet: Re: [Buildroot] [PATCH v1 1/1] Openpowerlink: new package | | Dear Romain Naour, | | On Sat, 21 Sep 2013 12:20:00 +0200 (CEST), Romain Naour wrote: | | > --- /dev/null | > +++ b/package/openpowerlink/openpowerlink.mk | > @@ -0,0 +1,92 @@ | > +################################################################################ | > +# | > +# openPOWERLINK | | It should be lower cased completely. | | > +# | > +################################################################################ | > + | > +OPENPOWERLINK_VERSION = V1.08.3 | > +OPENPOWERLINK_SOURCE = openPOWERLINK-$(OPENPOWERLINK_VERSION).zip | > +OPENPOWERLINK_SITE = | > http://downloads.sourceforge.net/project/openpowerlink/openPOWERLINK/V1.8.3 | > + | > +OPENPOWERLINK_LICENSE = BSD-2c, GPLv2 | > +OPENPOWERLINK_LICENSE_FILES = license.txt | > +OPENPOWERLINK_INSTALL_STAGING = YES | > + | > +ifeq ($(BR2_i386),y) | > +OPENPOWERLINK_ARCH = x86 | > +endif | > + | > +ifeq ($(BR2_x86_64),y) | > +OPENPOWERLINK_ARCH = x86_64 | > +endif | > + | > +OPENPOWERLINK_CONF_OPT = | > -DCMAKE_SYSTEM_PROCESSOR=$(OPENPOWERLINK_ARCH) | > +OPENPOWERLINK_CONF_OPT += -DCMAKE_INSTALL_PREFIX=/usr/ | | We normally put such things with one statement: | | FOO_CONF_OPT = \ | BLEH1 \ | BLEH2 | | *But* in this particular case, there is no need to pass | -DCMAKE_INSTALL_PREFIX, because it is already passed by the CMake | package infrastructure. Thanks for the advice. Best regards, Romain | | Thomas | -- | Thomas Petazzoni, Free Electrons | Embedded Linux, Kernel and Android engineering | http://free-electrons.com |