Update buildroot to 2020.11.2 (#1200)

Signed-off-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
Stefan Agner
2021-02-03 17:23:40 +01:00
parent 1a551c0753
commit 2cd078c466
168 changed files with 3203 additions and 1207 deletions

View File

@@ -2,7 +2,6 @@
#
# Minimal pg_config implementation as replacement for the native pg_config application
# Only implements --includedir and --libdir
#
prefix=/usr
@@ -11,6 +10,9 @@ case "$1" in
--includedir)
echo "$prefix/include"
;;
--pkgincludedir)
echo "$prefix/include/postgresql"
;;
--includedir-server)
echo "$prefix/include/postgresql/server"
;;
@@ -23,6 +25,51 @@ case "$1" in
--configure)
echo "@POSTGRESQL_CONF_OPTIONS@"
;;
--pgxs)
echo "$prefix/lib/postgresql/pgxs/src/makefiles/pgxs.mk"
;;
--cflags)
echo "@TARGET_CFLAGS@"
;;
--cc)
echo "@TARGET_CC@"
;;
--pkglibdir)
echo "/usr/lib/postgresql"
;;
--bindir)
echo "/usr/bin"
;;
--sharedir)
echo "/usr/share/postgresql"
;;
--localedir)
echo "/usr/share/locale"
;;
--docdir)
echo "/usr/share/doc/postgresql"
;;
--mandir)
echo "/usr/share/man"
;;
*)
echo "Usage: $0 {--includedir|--includedir-server|--libdir|--version|--configure}"
echo "Usage: $0 {OPTION}"
echo
echo "Options:"
echo
echo " --includedir show location of C header files of the client interfaces"
echo " --pkgincludedir show location of other C header files"
echo " --includedir-server show location of C header files for the server"
echo " --libdir show location of object code libraries"
echo " --version show the PostgreSQL version"
echo " --configure show options given to configure script"
echo " --pgxs show location of extension makefile"
echo " --cflags show CFLAGS value used when PostgreSQL was built"
echo " --cc show CC value used when PostgreSQL was built"
echo " --pkglibdir show location of dynamically loadable modules"
echo " --bindir show location of user executables"
echo " --sharedir show location of architecture-independent support files"
echo " --localedir show location of locale support files"
echo " --docdir show location of documentation files"
echo " --mandir show location of manual pages"
esac

View File

@@ -117,6 +117,8 @@ define POSTGRESQL_INSTALL_CUSTOM_PG_CONFIG
$(STAGING_DIR)/usr/bin/pg_config
$(SED) "s|@POSTGRESQL_CONF_OPTIONS@|$(POSTGRESQL_CONF_OPTS)|g" $(STAGING_DIR)/usr/bin/pg_config
$(SED) "s|@POSTGRESQL_VERSION@|$(POSTGRESQL_VERSION)|g" $(STAGING_DIR)/usr/bin/pg_config
$(SED) "s|@TARGET_CFLAGS@|$(TARGET_CFLAGS)|g" $(STAGING_DIR)/usr/bin/pg_config
$(SED) "s|@TARGET_CC@|$(TARGET_CC)|g" $(STAGING_DIR)/usr/bin/pg_config
endef
POSTGRESQL_POST_INSTALL_STAGING_HOOKS += POSTGRESQL_INSTALL_CUSTOM_PG_CONFIG