[Buildroot] [PATCH v1 1/1] Openpowerlink: new package

Romain Naour romain.naour at openwide.fr
Mon Sep 23 11:08:57 UTC 2013


Hi Thomas,

----- Mail original -----
| De: "Thomas Petazzoni" <thomas.petazzoni at free-electrons.com>
| À: "Romain Naour" <romain.naour at openwide.fr>
| Cc: "buildroot" <buildroot at busybox.net>
| 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
| 



More information about the buildroot mailing list