diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-11-01 15:09:45 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-11-02 08:29:45 +0100 |
commit | 9ed55366f8591a8c62b82a61e406d39009d17dbd (patch) | |
tree | 6ac02f45c4fab125d2640c3d9228d645c4982cf5 /rules | |
parent | c45d66cdae4b1bafc7344923ed018cebad65e242 (diff) | |
download | ptxdist-9ed55366f8591a8c62b82a61e406d39009d17dbd.tar.gz ptxdist-9ed55366f8591a8c62b82a61e406d39009d17dbd.tar.xz |
host-sqlite: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/host-sqlite.in | 6 | ||||
-rw-r--r-- | rules/host-sqlite.make | 51 |
2 files changed, 57 insertions, 0 deletions
diff --git a/rules/host-sqlite.in b/rules/host-sqlite.in new file mode 100644 index 000000000..b79005603 --- /dev/null +++ b/rules/host-sqlite.in @@ -0,0 +1,6 @@ +## SECTION=hosttools_platform +## SECTION=hosttools_noprompt + +config HOST_SQLITE + tristate + default ALLYES diff --git a/rules/host-sqlite.make b/rules/host-sqlite.make new file mode 100644 index 000000000..9ba633fef --- /dev/null +++ b/rules/host-sqlite.make @@ -0,0 +1,51 @@ +# -*-makefile-*- +# +# Copyright (C) 2018 by Jan Luebbe <jlu@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_SQLITE) += host-sqlite + +# +# Paths and names +# +HOST_SQLITE = $(SQLITE) +HOST_SQLITE_DIR = $(HOST_BUILDDIR)/$(HOST_SQLITE) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_SQLITE_CONF_ENV := \ + $(HOST_ENV) \ + CPPFLAGS=" \ + -DSQLITE_ENABLE_COLUMN_METADATA=1 \ + -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 \ + -DSQLITE_ENABLE_FTS4=1 \ + -DSQLITE_ENABLE_JSON1=1 \ + -DSQLITE_ENABLE_RTREE=1 \ + -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \ + -DSQLITE_SOUNDEX=1 \ + " + +HOST_SQLITE_CONF_TOOL := autoconf +HOST_SQLITE_CONF_OPT := \ + $(HOST_AUTOCONF) \ + --disable-static \ + --disable-editline \ + --disable-readline \ + --enable-threadsafe \ + --disable-dynamic-extensions \ + --disable-fts5 \ + --enable-json1 \ + --disable-session \ + --disable-static-shell + +# vim: syntax=make |