This commit includes reverts of the last attempt to bump sqlite: git revert --no-editc4c282f8ec014174f00d835b5659eadb481210e9296744b0f4939244b828f0a272ef14274c36578fand the following new changes: The autoconf-based configure script until version 3.48.0 enabled rtree support by default: https://github.com/sqlite/sqlite/blob/version-3.48.0/autoconf/configure.ac#L180 while the autosetup-based needs -DSQLITE_ENABLE_RTREE https://github.com/sqlite/sqlite/blob/version-3.50.4/autosetup/sqlite-config.tcl#L763 Added Config.in option for RTREE support and enabled it for gdal to provide a needed dependency: https://github.com/OSGeo/gdal/blob/v3.11.4/cmake/helpers/CheckDependentLibraries.cmake#L277 Added upstream patch to fix forced addition of rpath and added configure option --disable-rpath to target build. Added configure option --soname=legacy to fix wrong library name which breaks linking of kodi:7f2281bd7cAdded configure option --disable-shared for static builds. Added build fixes for BR2_m68k_cf. Removed SQLITE_CONF_OPTS and readline support from host build to avoid dependencies. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Tested-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit2cc346e763) Signed-off-by: Thomas Perale <thomas.perale@mind.be>