berkeleydb: add compat option

Add DB 1.85 compatibility layer option, it's needed for arpd in iproute2
and other old apps that haven't moved to the newer API.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2013-12-01 21:29:15 -03:00 committed by Peter Korsgaard
parent fba3da5638
commit 287cfe6b21
2 changed files with 10 additions and 2 deletions

View File

@ -6,8 +6,16 @@ config BR2_PACKAGE_BERKELEYDB
http://www.sleepycat.com/products/db.shtml
if BR2_PACKAGE_BERKELEYDB
config BR2_PACKAGE_BERKELEYDB_COMPAT185
bool "DB 1.85 compatibility"
help
Build and install DB 1.85 compatibility API.
config BR2_PACKAGE_BERKELEYDB_TOOLS
bool "install tools"
depends on BR2_PACKAGE_BERKELEYDB
help
Install berkeleydb tools, mostly useful for debugging purposes.
endif

View File

@ -36,7 +36,7 @@ define BERKELEYDB_CONFIGURE_CMDS
$(if $(BR2_INSTALL_LIBSTDCPP),--enable-cxx,--disable-cxx) \
--disable-java \
--disable-tcl \
--disable-compat185 \
$(if $(BR2_PACKAGE_BERKELEYDB_COMPAT185),--enable-compat185,--disable-compat185) \
$(SHARED_STATIC_LIBS_OPTS) \
--with-pic \
--enable-o_direct \