30a3e8d108
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
27 lines
748 B
Makefile
27 lines
748 B
Makefile
################################################################################
|
|
#
|
|
# zlog
|
|
#
|
|
################################################################################
|
|
|
|
ZLOG_VERSION = 6ddb9bbf3ff0123e701bf60996f351576ebe9c00
|
|
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))
|