From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/1] Add postgres server/client options
Date: Sun, 18 Oct 2015 18:04:11 +0200 [thread overview]
Message-ID: <20151018180411.7e5725fa@free-electrons.com> (raw)
In-Reply-To: <1445179920-2413-1-git-send-email-mathstuf@gmail.com>
Ben,
On Sun, 18 Oct 2015 10:51:59 -0400, Ben Boeckel wrote:
> Currently it is possible to turn on postgres and have both client and server
> off. Making it an either/or seemed like too much of a break for those wanting
> both, but I'm unsure of how to enforce at-least-one-of a set not available
> until the postgres package is enabled.
You can do:
select BR2_PACKAGE_POSTGRESQL_CLIENT if !BR2_PACKAGE_POSTGRESQL_SERVER
This does not scale well if you have a lot of choices, but since there
is only a choice between two possibilities here, it's quite reasonable
to do that.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-10-18 16:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-18 14:51 [Buildroot] [PATCH 0/1] Add postgres server/client options Ben Boeckel
2015-10-18 14:52 ` [Buildroot] [PATCH 1/1] postgresql: add an option to build the server Ben Boeckel
2015-10-18 16:19 ` Thomas Petazzoni
2015-10-18 21:46 ` Ben Boeckel
2015-10-18 16:04 ` Thomas Petazzoni [this message]
2015-10-23 4:43 ` [Buildroot] [PATCH v2 " Ben Boeckel
2015-10-31 17:58 ` Ben Boeckel
2015-11-19 1:52 ` Ben Boeckel
2015-12-13 22:37 ` Thomas Petazzoni
2015-12-14 0:08 ` Arnout Vandecappelle
2015-12-14 21:55 ` Yann E. MORIN
2016-04-19 21:22 ` Yann E. MORIN
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=20151018180411.7e5725fa@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox