initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
config BR2_PACKAGE_LOG4CPLUS
|
||||
bool "log4cplus"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
|
||||
help
|
||||
log4cplus is a simple to use C++ logging API providing
|
||||
thread-safe, flexible, and arbitrarily granular control
|
||||
over log management and configuration. It is modelled
|
||||
after the Java log4j API.
|
||||
|
||||
http://sourceforge.net/projects/log4cplus
|
||||
|
||||
comment "log4cplus needs a toolchain w/ C++, wchar, threads, gcc >= 4.8"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
|
||||
comment "log4cplus needs a toolchain not affected by GCC bug 64735"
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 8f74a0a5920ba044b24e2ebeb0f1e5e36d85d5c23ed48d9fe328882b16130db8 log4cplus-2.0.7.tar.xz
|
||||
sha256 91d7e42ff80e74c4c94e5ad353375fa0358cd0abbf43f5fe957097cdbd4e2c4d LICENSE
|
||||
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# log4cplus
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LOG4CPLUS_VERSION = 2.0.7
|
||||
LOG4CPLUS_SOURCE = log4cplus-$(LOG4CPLUS_VERSION).tar.xz
|
||||
LOG4CPLUS_SITE = http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/$(LOG4CPLUS_VERSION)
|
||||
LOG4CPLUS_LICENSE = Apache-2.0, BSD-2-Clause, BSD-like (threadpool)
|
||||
LOG4CPLUS_LICENSE_FILES = LICENSE
|
||||
LOG4CPLUS_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_GCC_ENABLE_LTO),y)
|
||||
LOG4CPLUS_CONF_OPTS += --enable-lto
|
||||
else
|
||||
LOG4CPLUS_CONF_OPTS += --disable-lto
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE),y)
|
||||
LOG4CPLUS_DEPENDENCIES += host-pkgconf qt5base
|
||||
LOG4CPLUS_CONF_OPTS += --with-qt5
|
||||
else
|
||||
LOG4CPLUS_CONF_OPTS += --without-qt5
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user