diff options
author | Bradford Barr <bradford@density.io> | 2017-06-26 09:17:44 -0700 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-02 23:59:08 +0200 |
commit | a2538e4b19c055ee99b5328fb606deb47fada06f (patch) | |
tree | 1e9a60cad893d364dd159c02f7d25e255b77599a | |
parent | a0c53973f87928ae51ca58926951c386c74fc023 (diff) | |
download | buildroot-a2538e4b19c055ee99b5328fb606deb47fada06f.tar.gz buildroot-a2538e4b19c055ee99b5328fb606deb47fada06f.zip |
sqlite: add json1 support
Add support for the JSON1 SQLite extensions. This extension allows SQLite to
store and query JSON objects in a database.
Signed-off-by: Bradford Barr <bradford@density.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/sqlite/Config.in | 6 | ||||
-rw-r--r-- | package/sqlite/sqlite.mk | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/package/sqlite/Config.in b/package/sqlite/Config.in index c9fde53b36..eec41c5332 100644 --- a/package/sqlite/Config.in +++ b/package/sqlite/Config.in @@ -22,6 +22,12 @@ config BR2_PACKAGE_SQLITE_ENABLE_FTS3 (see http://www.sqlite.org/amalgamation.html), version 3 of the full-text search engine is added to the build automatically. +config BR2_PACKAGE_SQLITE_ENABLE_JSON1 + bool "Enable the JSON extensions for SQLite" + help + When this option is defined in the amalgamation, the JSON + extensions are added to the build automatically. + config BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY bool "Enable sqlite3_unlock_notify() interface" help diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk index 7b9c897f6b..f6b249d941 100644 --- a/package/sqlite/sqlite.mk +++ b/package/sqlite/sqlite.mk @@ -19,6 +19,10 @@ ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_FTS3),y) SQLITE_CFLAGS += -DSQLITE_ENABLE_FTS3 endif +ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_JSON1),y) +SQLITE_CFLAGS += -DSQLITE_ENABLE_JSON1 +endif + ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY),y) SQLITE_CFLAGS += -DSQLITE_ENABLE_UNLOCK_NOTIFY endif |