Initial Commit
- initial default booting image
This commit is contained in:
12
package/zlog/Config.in
Normal file
12
package/zlog/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_ZLOG
|
||||
bool "zlog"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
zlog is a reliable, high-performance, thread safe, flexible,
|
||||
clear-model, pure C logging library.
|
||||
|
||||
https://github.com/HardySimpson/zlog
|
||||
|
||||
comment "zlog needs a toolchain w/ threads, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
3
package/zlog/zlog.hash
Normal file
3
package/zlog/zlog.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 3977dc8ea0069139816ec4025b320d9a7fc2035398775ea91429e83cb0d1ce4e zlog-1.2.18.tar.gz
|
||||
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
||||
28
package/zlog/zlog.mk
Normal file
28
package/zlog/zlog.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# zlog
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ZLOG_VERSION = 1.2.18
|
||||
ZLOG_SITE = $(call github,HardySimpson,zlog,$(ZLOG_VERSION))
|
||||
ZLOG_LICENSE = Apache-2.0
|
||||
ZLOG_LICENSE_FILES = LICENSE
|
||||
ZLOG_CPE_ID_VALID = YES
|
||||
ZLOG_INSTALL_STAGING = YES
|
||||
|
||||
define ZLOG_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) \
|
||||
CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
|
||||
WARNINGS="" -C $(@D) all
|
||||
endef
|
||||
|
||||
define ZLOG_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) PREFIX=$(STAGING_DIR)/usr -C $(@D) install
|
||||
endef
|
||||
|
||||
define ZLOG_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user