![Baruch Siach](/assets/img/avatar_default.png)
Since version 1.6.x the configure script is a wrapper around cmake. Use cmake directly since we want to make sure that cmake is available. monkey no longer provides the libmonkey.so shared library. Remove the BR2_PACKAGE_MONKEY_SHARED option. Fixes: http://autobuild.buildroot.net/results/b07/b077720c16857b752f4f38b73619a6a62862f35f/ http://autobuild.buildroot.net/results/799/799bcbd332f254fbf3d3547e5e52ac9463d58bcc/ http://autobuild.buildroot.net/results/3b0/3b095ca77a900af724fbc79d9cc20cbb9931fe15/ Cc: Morgan Delestre <m.delestre@sinters.fr> Cc: David Pierret <david.pierret@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
################################################################################
|
|
#
|
|
# monkey
|
|
#
|
|
################################################################################
|
|
|
|
MONKEY_VERSION_MAJOR = 1.6
|
|
MONKEY_VERSION = $(MONKEY_VERSION_MAJOR).9
|
|
MONKEY_SITE = http://monkey-project.com/releases/$(MONKEY_VERSION_MAJOR)
|
|
MONKEY_LICENSE = Apache-2.0
|
|
MONKEY_LICENSE_FILES = LICENSE
|
|
|
|
# This package has a configure script, but it's not using
|
|
# autoconf/automake, so we're using the generic-package
|
|
# infrastructure.
|
|
|
|
MONKEY_CONF_OPTS = \
|
|
-DINSTALL_SYSCONFDIR=/etc/monkey \
|
|
-DINSTALL_WEBROOTDIR=/var/www \
|
|
-DWITH_SYSTEM_MALLOC=1
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
|
MONKEY_CONF_OPTS += -DWITH_UCLIB=1 -DWITH_BACKTRACE=0
|
|
endif
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
|
MONKEY_CONF_OPTS += -DWITH_MUSL=1 -DWITH_BACKTRACE=0
|
|
endif
|
|
|
|
ifeq ($(BR2_ENABLE_DEBUG),y)
|
|
MONKEY_CONF_OPTS += -DWITH_DEBUG=1
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_MONKEY_SSL),y)
|
|
MONKEY_CONF_OPTS += -DWITH_PLUGINS=tls -DWITH_MBEDTLS_SHARED=1
|
|
MONKEY_DEPENDENCIES += mbedtls
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|