From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] omniorb: add COS Naming Service
Date: Tue, 12 Nov 2013 22:25:40 +0100 [thread overview]
Message-ID: <52829CD4.3080200@mind.be> (raw)
In-Reply-To: <1384288305-4945-1-git-send-email-mlweber1@rockwellcollins.com>
On 12/11/13 21:31, Matt Weber wrote:
>
> Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
> ---
> package/omniorb/Config.in | 9 +++++++++
> package/omniorb/omniorb.mk | 8 ++++++++
> 2 files changed, 17 insertions(+), 0 deletions(-)
>
> diff --git a/package/omniorb/Config.in b/package/omniorb/Config.in
> index 6326688..22527fc 100644
> --- a/package/omniorb/Config.in
> +++ b/package/omniorb/Config.in
> @@ -10,5 +10,14 @@ config BR2_PACKAGE_OMNIORB
>
> http://omniorb.sourceforge.net/
>
> +if BR2_PACKAGE_OMNIORB
> +
> +config BR2_PACKAGE_OMNIORB_WITH_SERVICES
> + bool "COS Naming Service"
> + default y
> + help
> + omniORB COS Naming Service
> +endif
> +
> comment "omniORB needs a toolchain w/ C++"
> depends on !BR2_INSTALL_LIBSTDCPP
> diff --git a/package/omniorb/omniorb.mk b/package/omniorb/omniorb.mk
> index 490ff93..cad50f8 100644
> --- a/package/omniorb/omniorb.mk
> +++ b/package/omniorb/omniorb.mk
> @@ -24,6 +24,14 @@ OMNIORB_INSTALL_TARGET = YES
> OMNIORB_CONF_OPT += --disable-longdouble
> HOST_OMNIORB_CONF_OPT += --disable-longdouble
>
> +define OMNIORB_ENABLE_SERVICES
> + $(SED) 's:SUBDIRS += lib:SUBDIRS += lib services:g' $(@D)/src/dir.mk
> +endef
> +
> +ifeq ($(BR2_PACKAGE_OMNIORB_WITH_SERVICES),y)
> + OMNIORB_POST_CONFIGURE_HOOKS += OMNIORB_ENABLE_SERVICES
We normally don't indent variable assignments within conditions (the
indentation of the sed statement is OK, because that's a shell command).
Also, wouldn't it be better to do this as post-patch hook?
Regards,
Arnout
> +endif
> +
> # omniORB is not completely cross-compile friendly and has some
> # assumptions where a couple host tools must be built and then
> # used by the target build. The host tools generate code from
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2013-11-12 21:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-12 20:31 [Buildroot] [PATCH 1/1] omniorb: add COS Naming Service Matt Weber
2013-11-12 20:54 ` Thomas De Schampheleire
2013-11-12 22:09 ` Matthew Weber
2013-11-12 22:24 ` Peter Korsgaard
2013-11-12 22:29 ` Matthew Weber
2013-11-13 9:07 ` Thomas De Schampheleire
2013-11-13 9:50 ` Peter Korsgaard
2013-11-13 9:59 ` Thomas De Schampheleire
2013-11-13 14:11 ` Matthew Weber
2013-11-12 21:25 ` Arnout Vandecappelle [this message]
2013-11-12 22:27 ` Matthew Weber
2013-11-12 21:54 ` Thomas Petazzoni
2013-11-12 22:41 ` Matthew Weber
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=52829CD4.3080200@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.