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>
30 lines
939 B
Makefile
30 lines
939 B
Makefile
################################################################################
|
|
#
|
|
# pps-tools
|
|
#
|
|
################################################################################
|
|
|
|
PPS_TOOLS_VERSION = 47333f24af878f67ce48022e8af16419713aa1ac
|
|
PPS_TOOLS_SITE = $(call github,ago,pps-tools,$(PPS_TOOLS_VERSION))
|
|
PPS_TOOLS_INSTALL_STAGING = YES
|
|
PPS_TOOLS_LICENSE = GPL-2.0+
|
|
PPS_TOOLS_LICENSE_FILES = COPYING
|
|
|
|
define PPS_TOOLS_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
|
|
endef
|
|
|
|
define PPS_TOOLS_INSTALL_STAGING_CMDS
|
|
mkdir -p $(STAGING_DIR)/usr/include/sys $(STAGING_DIR)/usr/bin
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
DESTDIR=$(STAGING_DIR) -C $(@D) install
|
|
endef
|
|
|
|
define PPS_TOOLS_INSTALL_TARGET_CMDS
|
|
mkdir -p $(TARGET_DIR)/usr/include/sys $(TARGET_DIR)/usr/bin
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
DESTDIR=$(TARGET_DIR) -C $(@D) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|