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>
33 lines
844 B
Makefile
33 lines
844 B
Makefile
################################################################################
|
|
#
|
|
# libdvbcsa
|
|
#
|
|
################################################################################
|
|
|
|
LIBDVBCSA_VERSION = 1.1.0
|
|
LIBDVBCSA_SITE = http://get.videolan.org/libdvbcsa/$(LIBDVBCSA_VERSION)
|
|
LIBDVBCSA_LICENSE = GPL-2.0+
|
|
LIBDVBCSA_LICENSE_FILES = COPYING
|
|
LIBDVBCSA_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_X86_CPU_HAS_MMX),y)
|
|
LIBDVBCSA_CONF_OPTS += --enable-mmx
|
|
else
|
|
LIBDVBCSA_CONF_OPTS += --disable-mmx
|
|
endif
|
|
|
|
ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
|
|
LIBDVBCSA_CONF_OPTS += --enable-sse2
|
|
else
|
|
LIBDVBCSA_CONF_OPTS += --disable-sse2
|
|
endif
|
|
|
|
ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
|
|
LIBDVBCSA_CONF_OPTS += --enable-altivec
|
|
LIBDVBCSA_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -flax-vector-conversions"
|
|
else
|
|
LIBDVBCSA_CONF_OPTS += --disable-altivec
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|