2014-03-03 15:19:58 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# zlog
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-07-16 06:41:02 +08:00
|
|
|
ZLOG_VERSION = 1.2.15
|
2014-03-03 15:19:58 +08:00
|
|
|
ZLOG_SITE = $(call github,HardySimpson,zlog,$(ZLOG_VERSION))
|
2017-03-30 21:43:34 +08:00
|
|
|
ZLOG_LICENSE = LGPL-2.1
|
2014-03-03 15:19:58 +08:00
|
|
|
ZLOG_LICENSE_FILES = COPYING
|
|
|
|
ZLOG_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
define ZLOG_BUILD_CMDS
|
2016-10-14 06:13:12 +08:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
|
2014-03-03 15:19:58 +08:00
|
|
|
-C $(@D) all
|
|
|
|
endef
|
|
|
|
|
|
|
|
define ZLOG_INSTALL_STAGING_CMDS
|
2016-10-14 06:13:12 +08:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) PREFIX=$(STAGING_DIR)/usr -C $(@D) install
|
2014-03-03 15:19:58 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define ZLOG_INSTALL_TARGET_CMDS
|
2016-10-14 06:13:12 +08:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) install
|
2014-03-03 15:19:58 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|