af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
678 B
Makefile
22 lines
678 B
Makefile
################################################################################
|
|
#
|
|
# statserial
|
|
#
|
|
################################################################################
|
|
|
|
STATSERIAL_VERSION = 1.1
|
|
STATSERIAL_SITE = http://www.ibiblio.org/pub/Linux/system/serial
|
|
STATSERIAL_DEPENDENCIES = ncurses
|
|
STATSERIAL_LICENSE = GPL-2.0+
|
|
STATSERIAL_LICENSE_FILES = COPYING
|
|
|
|
define STATSERIAL_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)
|
|
endef
|
|
|
|
define STATSERIAL_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/statserial $(TARGET_DIR)/usr/bin/statserial
|
|
endef
|
|
|
|
$(eval $(generic-package))
|