mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-03 02:13:29 +08:00
863378ed27
Telnet logging is an optional feature that's disabled by default. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
32 lines
879 B
Makefile
32 lines
879 B
Makefile
################################################################################
|
|
#
|
|
# log4qt
|
|
#
|
|
################################################################################
|
|
|
|
LOG4QT_VERSION = 1.5.1
|
|
LOG4QT_SITE = $(call github,MEONMedical,Log4Qt,v$(LOG4QT_VERSION))
|
|
LOG4QT_DEPENDENCIES = qt5base
|
|
LOG4QT_LICENSE = Apache-2.0
|
|
LOG4QT_LICENSE_FILES = LICENSE
|
|
LOG4QT_INSTALL_STAGING = YES
|
|
|
|
# Uses __atomic_fetch_add_4
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
LOG4QT_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_QT5BASE_SQLITE_QT)$(BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM),y)
|
|
LOG4QT_CONF_OPTS += -DBUILD_WITH_DB_LOGGING=ON
|
|
else
|
|
LOG4QT_CONF_OPTS += -DBUILD_WITH_DB_LOGGING=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_QT5BASE_NETWORK),y)
|
|
LOG4QT_CONF_OPTS += -DBUILD_WITH_TELNET_LOGGING=ON
|
|
else
|
|
LOG4QT_CONF_OPTS += -DBUILD_WITH_TELNET_LOGGING=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|