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>
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# irda-utils
|
|
#
|
|
################################################################################
|
|
|
|
IRDA_UTILS_VERSION = 0.9.18
|
|
IRDA_UTILS_SITE = http://downloads.sourceforge.net/project/irda/irda-utils/$(IRDA_UTILS_VERSION)
|
|
IRDA_UTILS_LICENSE = GPL-2.0+
|
|
IRDA_UTILS_LICENSE_FILES = man/COPYING
|
|
|
|
IRDA_UTILS_CFLAGS = $(TARGET_CFLAGS) -I.
|
|
ifeq ($(BR2_USE_MMU),)
|
|
IRDA_UTILS_CFLAGS += -DNO_FORK=1
|
|
endif
|
|
|
|
define IRDA_UTILS_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) \
|
|
CC="$(TARGET_CC)" \
|
|
CFLAGS="$(IRDA_UTILS_CFLAGS)" \
|
|
SYS_INCLUDES= \
|
|
DIRS="irattach irdaping irnetd" \
|
|
V=1 -C $(@D)
|
|
endef
|
|
|
|
IRDA_UTILS_SBINS- =
|
|
IRDA_UTILS_SBINS-y =
|
|
IRDA_UTILS_SBINS-$(BR2_PACKAGE_IRDA_UTILS_IRATTACH) += irattach
|
|
IRDA_UTILS_SBINS-$(BR2_PACKAGE_IRDA_UTILS_IRDAPING) += irdaping
|
|
IRDA_UTILS_SBINS-$(BR2_PACKAGE_IRDA_UTILS_IRNETD) += irnetd
|
|
IRDA_UTILS_SBINS- += $(IRDA_UTILS_SBINS-y)
|
|
|
|
define IRDA_UTILS_INSTALL_TARGET_CMDS
|
|
for i in $(IRDA_UTILS_SBINS-y); do \
|
|
$(INSTALL) -m 0755 -D $(@D)/$$i/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \
|
|
done
|
|
endef
|
|
|
|
$(eval $(generic-package))
|