kumquat-buildroot/package/bullet/bullet.mk
Fabrice Fontaine 81fa9080c1 package/bullet: extras needs NPTL
Fixes:
 - http://autobuild.buildroot.org/results/9c6325e6cc86116d1e8c940e0fcfe94243faa6de

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-05-09 22:44:03 +02:00

27 lines
745 B
Makefile

################################################################################
#
# bullet
#
################################################################################
BULLET_VERSION = 2.88
BULLET_SITE = $(call github,bulletphysics,bullet3,$(BULLET_VERSION))
BULLET_INSTALL_STAGING = YES
BULLET_LICENSE = Zlib
BULLET_LICENSE_FILES = LICENSE.txt
# Disable demos apps and unit tests.
# Disable Bullet3 library.
BULLET_CONF_OPTS = -DBUILD_UNIT_TESTS=OFF \
-DBUILD_BULLET2_DEMOS=OFF \
-DBUILD_BULLET3=OFF
# extras needs dlfcn.h and NPTL (pthread_barrier_init)
ifeq ($(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_HAS_THREADS_NPTL),:y)
BULLET_CONF_OPTS += -DBUILD_EXTRAS=ON
else
BULLET_CONF_OPTS += -DBUILD_EXTRAS=OFF
endif
$(eval $(cmake-package))