337aa51f3f
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
812 B
Makefile
25 lines
812 B
Makefile
################################################################################
|
|
#
|
|
# pifmrds
|
|
#
|
|
################################################################################
|
|
|
|
PIFMRDS_VERSION = 0bf57f9ce0d954365a38d8af8e7be6f28521c3f2
|
|
PIFMRDS_SITE = $(call github,ChristopheJacquet,PiFmRds,$(PIFMRDS_VERSION))
|
|
PIFMRDS_DEPENDENCIES = libsndfile
|
|
PIFMRDS_LICENSE = GPL-3.0+
|
|
PIFMRDS_LICENSE_FILES = LICENSE
|
|
|
|
define PIFMRDS_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src CC="$(TARGET_CC)" LDFLAGS="$(TARGET_LDFLAGS)" \
|
|
CFLAGS="$(TARGET_CFLAGS) -std=gnu99 -ffast-math -c" \
|
|
app rds_wav
|
|
endef
|
|
|
|
define PIFMRDS_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/src/pi_fm_rds $(TARGET_DIR)/usr/bin/pi_fm_rds
|
|
$(INSTALL) -D -m 0755 $(@D)/src/rds_wav $(TARGET_DIR)/usr/bin/rds_wav
|
|
endef
|
|
|
|
$(eval $(generic-package))
|