0d97088748
As mentionned into release message [1], github license page [2] and announce [3], this release is primarly dedicated to fully removing GPL-3.0+ license, no more COPYING-LGPL: merged into COPYING [1]: https://github.com/gnuradio/volk/releases/tag/v3.0.0 [2]: https://github.com/gnuradio/volk/tree/v3.0.0#license [3]: https://lists.gnu.org/archive/html/discuss-gnuradio/2023-01/msg00046.html Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# volk
|
|
#
|
|
################################################################################
|
|
|
|
VOLK_VERSION = 3.0.0
|
|
VOLK_SITE = https://github.com/gnuradio/volk/releases/download/v$(VOLK_VERSION)
|
|
VOLK_SOURCE = volk-$(VOLK_VERSION).tar.xz
|
|
VOLK_LICENSE = LGPL-3.0+
|
|
VOLK_LICENSE_FILES = COPYING
|
|
|
|
VOLK_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
|
|
# host-python-mako are needed for volk to compile
|
|
VOLK_DEPENDENCIES = host-python3 host-python-mako
|
|
|
|
VOLK_CONF_OPTS = \
|
|
-DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \
|
|
-DENABLE_MODTOOL=OFF \
|
|
-DENABLE_TESTING=OFF \
|
|
-DENABLE_PROFILING=OFF \
|
|
-DVOLK_PYTHON_DIR=lib/python$(PYTHON3_VERSION_MAJOR)/site-packages
|
|
|
|
# For third-party blocks, the volk library is mandatory at
|
|
# compile time.
|
|
VOLK_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
VOLK_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_ORC),y)
|
|
VOLK_DEPENDENCIES += orc
|
|
VOLK_CONF_OPTS += -DENABLE_ORC=ON
|
|
else
|
|
VOLK_CONF_OPTS += -DENABLE_ORC=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|