Initial Commit
- initial default booting image
This commit is contained in:
14
package/spdlog/Config.in
Normal file
14
package/spdlog/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_SPDLOG
|
||||
bool "spdlog"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_WCHAR # fmt
|
||||
select BR2_PACKAGE_FMT
|
||||
help
|
||||
Very fast, header-only/compiled, C++ logging library.
|
||||
|
||||
https://github.com/gabime/spdlog
|
||||
|
||||
comment "spdlog needs a toolchain w/ C++, threads, wchar"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !BR2_USE_WCHAR
|
||||
3
package/spdlog/spdlog.hash
Normal file
3
package/spdlog/spdlog.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 d8862955c6d74e5846b3f580b1605d2428b11d97a410d86e2fb13e857cd3a744 spdlog-1.17.0.tar.gz
|
||||
sha256 d678c20826e1392578508e1c78649a1e3c31bda05ef4388d967dbd654461b140 LICENSE
|
||||
25
package/spdlog/spdlog.mk
Normal file
25
package/spdlog/spdlog.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# spdlog
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SPDLOG_VERSION = 1.17.0
|
||||
SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION))
|
||||
SPDLOG_LICENSE = MIT
|
||||
SPDLOG_LICENSE_FILES = LICENSE
|
||||
SPDLOG_INSTALL_STAGING = YES
|
||||
SPDLOG_DEPENDENCIES = fmt
|
||||
SPDLOG_CONF_OPTS += \
|
||||
-DSPDLOG_BUILD_TESTS=OFF \
|
||||
-DSPDLOG_BUILD_EXAMPLE=OFF \
|
||||
-DSPDLOG_BUILD_BENCH=OFF \
|
||||
-DSPDLOG_FMT_EXTERNAL=ON
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
SPDLOG_CONF_OPTS += -DSPDLOG_BUILD_SHARED=OFF
|
||||
else
|
||||
SPDLOG_CONF_OPTS += -DSPDLOG_BUILD_SHARED=ON
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user