mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-13 23:33:32 +08:00
ef586a680c
- Drop patch (already in version)
- Update hash of LICENSE.txt: Fixed Apache license not using canonical
version:
9834ee9787
- Update indentation of hash file (two spaces)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
34 lines
974 B
Makefile
34 lines
974 B
Makefile
################################################################################
|
|
#
|
|
# flatbuffers
|
|
#
|
|
################################################################################
|
|
|
|
FLATBUFFERS_VERSION = 1.12.0
|
|
FLATBUFFERS_SITE = $(call github,google,flatbuffers,v$(FLATBUFFERS_VERSION))
|
|
FLATBUFFERS_LICENSE = Apache-2.0
|
|
FLATBUFFERS_LICENSE_FILES = LICENSE.txt
|
|
FLATBUFFERS_INSTALL_STAGING = YES
|
|
|
|
FLATBUFFERS_CONF_OPTS += \
|
|
-DCMAKE_CXX_FLAGS="-std=c++11" \
|
|
-DFLATBUFFERS_BUILD_TESTS=OFF
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
FLATBUFFERS_CONF_OPTS += -DFLATBUFFERS_BUILD_SHAREDLIB=OFF
|
|
else
|
|
FLATBUFFERS_CONF_OPTS += -DFLATBUFFERS_BUILD_SHAREDLIB=ON
|
|
endif
|
|
|
|
HOST_FLATBUFFERS_CONF_OPTS += \
|
|
-DCMAKE_CXX_FLAGS="-std=c++11" \
|
|
-DFLATBUFFERS_BUILD_FLATLIB=OFF \
|
|
-DFLATBUFFERS_BUILD_FLATC=ON \
|
|
-DFLATBUFFERS_BUILD_FLATHASH=OFF \
|
|
-DFLATBUFFERS_BUILD_GRPCTEST=OFF \
|
|
-DFLATBUFFERS_BUILD_SHAREDLIB=OFF \
|
|
-DFLATBUFFERS_BUILD_TESTS=OFF
|
|
|
|
$(eval $(cmake-package))
|
|
$(eval $(host-cmake-package))
|