1################################################################################ 2# 3# opentracing-cpp 4# 5################################################################################ 6 7OPENTRACING_CPP_VERSION = 1.5.1 8OPENTRACING_CPP_SITE = $(call github,opentracing,opentracing-cpp,v$(OPENTRACING_CPP_VERSION)) 9OPENTRACING_CPP_LICENSE = Apache-2.0 10OPENTRACING_CPP_LICENSE_FILES = LICENSE 11 12OPENTRACING_CPP_INSTALL_STAGING = YES 13 14# BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable 15# although BUILD_STATIC_LIBS=ON is default, make it explicit, 16# cmake and static/shared libs is confusing enough already. 17ifeq ($(BR2_STATIC_LIBS),y) 18OPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=ON 19else ifeq ($(BR2_SHARED_STATIC_LIBS),y) 20OPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=ON 21else ifeq ($(BR2_SHARED_LIBS),y) 22OPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=OFF 23endif 24 25OPENTRACING_CPP_CONF_OPTS += -DENABLE_LINTING=OFF 26 27$(eval $(cmake-package)) 28