2015-12-20 22:31:52 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libasplib
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-01-01 13:02:43 +01:00
|
|
|
LIBASPLIB_VERSION = be7fac89218a84b75f7598e3d76625ece99296f2
|
2016-02-29 11:19:23 +01:00
|
|
|
LIBASPLIB_SITE = $(call github,AchimTuran,asplib,$(LIBASPLIB_VERSION))
|
2015-12-20 22:31:52 +01:00
|
|
|
LIBASPLIB_LICENSE = GPLv3+
|
|
|
|
LIBASPLIB_LICENSE_FILES = LICENSE
|
|
|
|
LIBASPLIB_INSTALL_STAGING = YES
|
|
|
|
|
2017-01-01 13:02:43 +01:00
|
|
|
LIBASPLIB_CONF_OPTS = \
|
|
|
|
-DASPLIB_MODULES_TO_BUILD=some \
|
|
|
|
-DBUILD_BIQUAD=ON \
|
|
|
|
-DBUILD_IIR=ON \
|
|
|
|
-DBUILD_LOGGER=ON \
|
|
|
|
-DBUILD_SIGNALS=ON \
|
|
|
|
-DBUILD_TIMER=ON
|
|
|
|
|
2017-01-01 13:02:44 +01:00
|
|
|
# Internal error, aborting at dw2gencfi.c:214 in emit_expr_encoded
|
|
|
|
ifeq ($(BR2_m68k_cf),y)
|
|
|
|
LIBASPLIB_CXXFLAGS += -fno-dwarf2-cfi-asm
|
|
|
|
endif
|
|
|
|
|
|
|
|
LIBASPLIB_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) $(LIBASPLIB_CXXFLAGS)"
|
|
|
|
|
2015-12-20 22:31:52 +01:00
|
|
|
$(eval $(cmake-package))
|