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