aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
747 B
Makefile
26 lines
747 B
Makefile
################################################################################
|
|
#
|
|
# libsoxr
|
|
#
|
|
################################################################################
|
|
|
|
LIBSOXR_VERSION = 0.1.1
|
|
LIBSOXR_SOURCE = soxr-$(LIBSOXR_VERSION)-Source.tar.xz
|
|
LIBSOXR_SITE = http://downloads.sourceforge.net/project/soxr
|
|
LIBSOXR_LICENSE = LGPLv2.1+
|
|
LIBSOXR_LICENSE_FILES = LICENCE COPYING.LGPL
|
|
LIBSOXR_INSTALL_STAGING = YES
|
|
LIBSOXR_CONF_OPTS = -DWITH_OPENMP:BOOL=OFF -DBUILD_TESTS:BOOL=OFF
|
|
|
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
|
LIBSOXR_CONF_OPTS += -DBUILD_SHARED_LIBS:BOOL=OFF
|
|
endif
|
|
|
|
ifeq ($(call qstrip,$(BR2_ENDIAN)),BIG)
|
|
LIBSOXR_CONF_OPTS += -DHAVE_WORDS_BIGENDIAN=1
|
|
else
|
|
LIBSOXR_CONF_OPTS += -DHAVE_WORDS_BIGENDIAN=0
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|