mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
26
package/zlog/zlog.mk
Normal file
26
package/zlog/zlog.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# zlog
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ZLOG_VERSION = ccf8c36e918d6f3c7e6fe9e36eedf8583014c5c9
|
||||
ZLOG_SITE = $(call github,HardySimpson,zlog,$(ZLOG_VERSION))
|
||||
ZLOG_LICENSE = LGPL-2.1
|
||||
ZLOG_LICENSE_FILES = COPYING
|
||||
ZLOG_INSTALL_STAGING = YES
|
||||
|
||||
define ZLOG_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
|
||||
-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