[Buildroot] [git commit] cppdb: new package

Thomas De Schampheleire patrickdepinguin at gmail.com
Mon Nov 11 07:50:11 UTC 2013


Peter Korsgaard <peter at korsgaard.com> wrote:
>commit: http://git.buildroot.net/buildroot/commit/?id=0c14b6c9a66900e427e82326108ac63fe46dd483
>branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>
>Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
>Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
>---
> package/Config.in       |    1 +
> package/cppdb/Config.in |   15 +++++++++++++++
> package/cppdb/cppdb.mk  |   20 ++++++++++++++++++++
> 3 files changed, 36 insertions(+), 0 deletions(-)
>
>diff --git a/package/Config.in b/package/Config.in
>index d0db7d6..311cc6c 100644
>--- a/package/Config.in
>+++ b/package/Config.in
>@@ -472,6 +472,7 @@ endmenu
> 
> menu "Database"
> source "package/berkeleydb/Config.in"
>+source "package/cppdb/Config.in"
> source "package/gdbm/Config.in"
> source "package/mysql_client/Config.in"
> source "package/redis/Config.in"
>diff --git a/package/cppdb/Config.in b/package/cppdb/Config.in
>new file mode 100644
>index 0000000..f0c48e3
>--- /dev/null
>+++ b/package/cppdb/Config.in
>@@ -0,0 +1,15 @@
>+config BR2_PACKAGE_CPPDB
>+	bool "cppdb"
>+	depends on BR2_INSTALL_LIBSTDCPP
>+	depends on BR2_TOOLCHAIN_HAS_THREADS
>+	# Can be built without them but it's useless
>+	depends on BR2_PACKAGE_MYSQL_CLIENT || BR2_PACKAGE_SQLITE

This dependency should also have been added on the comment, to make sure it is only shown when relevant...





More information about the buildroot mailing list