Upgrade buildroot to 2023.05 (from 2021.08.2), kernel is upgraded to 6.3 (from 5.13.19).

This commit is contained in:
PartialVolume
2023-07-05 19:35:21 +01:00
parent 654cfca2bf
commit 2ad6760d0f
8544 changed files with 208276 additions and 109881 deletions

View File

@@ -0,0 +1,39 @@
################################################################################
#
# php-lua
#
################################################################################
PHP_LUA_VERSION = 2.0.7
PHP_LUA_SITE = http://pecl.php.net/get
PHP_LUA_SOURCE = lua-$(PHP_LUA_VERSION).tgz
PHP_LUA_LICENSE = PHP-3.01
PHP_LUA_LICENSE_FILES = LICENSE
PHP_LUA_DEPENDENCIES = php luainterpreter host-autoconf host-pkgconf
PHP_LUA_CONF_OPTS = \
--with-php-config=$(STAGING_DIR)/usr/bin/php-config \
--with-lua=$(STAGING_DIR)/usr
# The php-lua package uses the following code to search for the lua library
# if test "$PHP_LUA_VERSION" != "yes" -a "$PHP_LUA_VERSION" != "no"; then
# LUA_LIB_SUFFIX=lua$PHP_LUA_VERSION
# else
# LUA_LIB_SUFFIX=lua
# fi
# LUA_LIB_NAME=lib$LUA_LIB_SUFFIX
# luajit library name is libluajit-x.y with x.y the api version.
# In order to use luajit, we use jit-x.y as "lua-version".
ifeq ($(BR2_PACKAGE_LUAJIT),y)
PHP_LUA_CONF_OPTS += --with-lua-version=jit-$(LUAINTERPRETER_ABIVER)
endif
define PHP_LUA_PHPIZE
(cd $(@D); \
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
$(STAGING_DIR)/usr/bin/phpize)
endef
PHP_LUA_PRE_CONFIGURE_HOOKS += PHP_LUA_PHPIZE
$(eval $(autotools-package))