update buildroot to 2017.02.11
This commit is contained in:
58
bsp/buildroot-2017.02.11/package/sqlite/Config.in
Normal file
58
bsp/buildroot-2017.02.11/package/sqlite/Config.in
Normal file
@@ -0,0 +1,58 @@
|
||||
config BR2_PACKAGE_SQLITE
|
||||
bool "sqlite"
|
||||
help
|
||||
SQLite is a small C library that implements a self-contained,
|
||||
embeddable, zero-configuration SQL database engine.
|
||||
|
||||
http://www.sqlite.org/
|
||||
|
||||
if BR2_PACKAGE_SQLITE
|
||||
|
||||
config BR2_PACKAGE_SQLITE_STAT3
|
||||
bool "Additional query optimizations (stat3)"
|
||||
help
|
||||
Adds additional logic to the ANALYZE command and to the query
|
||||
planner that can help SQLite to choose a better query plan under
|
||||
certain situations.
|
||||
|
||||
config BR2_PACKAGE_SQLITE_ENABLE_FTS3
|
||||
bool "Enable version 3 of the full-text search engine"
|
||||
help
|
||||
When this option is defined in the amalgamation
|
||||
(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_UNLOCK_NOTIFY
|
||||
bool "Enable sqlite3_unlock_notify() interface"
|
||||
help
|
||||
This option enables the sqlite3_unlock_notify() interface and its
|
||||
accosiated functionality. See the documentation
|
||||
http://www.sqlite.org/unlock_notify.html for additional information.
|
||||
|
||||
config BR2_PACKAGE_SQLITE_SECURE_DELETE
|
||||
bool "Set the secure_delete pragma on by default"
|
||||
help
|
||||
This compile-time option changes the default settings of the
|
||||
secure_delete pragma. When this option is not used, secure_delete
|
||||
defaults to off. When this option is present, secure_delete defaults
|
||||
to on.
|
||||
|
||||
The secure_delete setting causes deleted content to be overwritten
|
||||
with zeros. There is a small performance penalty for this since
|
||||
additional I/O must occur. On the other hand, secure_delete can
|
||||
prevent sensitive information from lingering in unused parts
|
||||
of the database file after it has allegedly been deleted.
|
||||
See the documentation on the
|
||||
http://www.sqlite.org/pragma.html#pragma_secure_delete
|
||||
for additional information.
|
||||
|
||||
config BR2_PACKAGE_SQLITE_NO_SYNC
|
||||
bool "Disable fsync"
|
||||
help
|
||||
By default SQLite forces all database transactions to storage
|
||||
immediately using fsync() to protect against data loss in case
|
||||
of power failure.
|
||||
This option turns this behavior off resulting in higher performance
|
||||
especially when using slow flash storage.
|
||||
|
||||
endif
|
||||
4
bsp/buildroot-2017.02.11/package/sqlite/sqlite.hash
Normal file
4
bsp/buildroot-2017.02.11/package/sqlite/sqlite.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From http://www.sqlite.org/download.html
|
||||
sha1 64ca578ad44a94115b1db0406740e14288f74bb8 sqlite-autoconf-3160200.tar.gz
|
||||
# Calculated based on the hash above
|
||||
sha256 65cc0c3e9366f50c0679c5ccd31432cea894bc4a3e8947dabab88c8693263615 sqlite-autoconf-3160200.tar.gz
|
||||
59
bsp/buildroot-2017.02.11/package/sqlite/sqlite.mk
Normal file
59
bsp/buildroot-2017.02.11/package/sqlite/sqlite.mk
Normal file
@@ -0,0 +1,59 @@
|
||||
################################################################################
|
||||
#
|
||||
# sqlite
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SQLITE_VERSION = 3160200
|
||||
SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_VERSION).tar.gz
|
||||
SQLITE_SITE = http://www.sqlite.org/2017
|
||||
SQLITE_LICENSE = Public domain
|
||||
SQLITE_LICENSE_FILES = tea/license.terms
|
||||
SQLITE_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQLITE_STAT3),y)
|
||||
SQLITE_CFLAGS += -DSQLITE_ENABLE_STAT3
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_FTS3),y)
|
||||
SQLITE_CFLAGS += -DSQLITE_ENABLE_FTS3
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY),y)
|
||||
SQLITE_CFLAGS += -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQLITE_SECURE_DELETE),y)
|
||||
SQLITE_CFLAGS += -DSQLITE_SECURE_DELETE
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQLITE_NO_SYNC),y)
|
||||
SQLITE_CFLAGS += -DSQLITE_NO_SYNC
|
||||
endif
|
||||
|
||||
SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) $(SQLITE_CFLAGS)"
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
SQLITE_CONF_OPTS += --enable-dynamic-extensions=no
|
||||
else
|
||||
SQLITE_CONF_OPTS += --disable-static-shell
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
SQLITE_CONF_OPTS += --enable-threadsafe
|
||||
else
|
||||
SQLITE_CONF_OPTS += --disable-threadsafe
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCURSES)$(BR2_PACKAGE_READLINE),yy)
|
||||
SQLITE_DEPENDENCIES += ncurses readline
|
||||
SQLITE_CONF_OPTS += --disable-editline --enable-readline
|
||||
else ifeq ($(BR2_PACKAGE_LIBEDIT),y)
|
||||
SQLITE_DEPENDENCIES += libedit
|
||||
SQLITE_CONF_OPTS += --enable-editline --disable-readline
|
||||
else
|
||||
SQLITE_CONF_OPTS += --disable-editline --disable-readline
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user