[Buildroot] [PATCH 0/1] Add postgres server/client options
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Oct 18 16:04:11 UTC 2015
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
More information about the buildroot
mailing list