mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-04 02:43:30 +08:00
4a9e8a8db1
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
27 lines
691 B
Makefile
27 lines
691 B
Makefile
################################################################################
|
|
#
|
|
# zlog
|
|
#
|
|
################################################################################
|
|
|
|
ZLOG_VERSION = ca6162be1608839e99c6388c28488c51ccf98e4a
|
|
ZLOG_SITE = $(call github,HardySimpson,zlog,$(ZLOG_VERSION))
|
|
ZLOG_LICENSE = LGPLv2.1
|
|
ZLOG_LICENSE_FILES = COPYING
|
|
ZLOG_INSTALL_STAGING = YES
|
|
|
|
define ZLOG_BUILD_CMDS
|
|
$(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
|
|
-C $(@D) all
|
|
endef
|
|
|
|
define ZLOG_INSTALL_STAGING_CMDS
|
|
$(MAKE) PREFIX=$(STAGING_DIR)/usr -C $(@D) install
|
|
endef
|
|
|
|
define ZLOG_INSTALL_TARGET_CMDS
|
|
$(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|