blob: 657391636281f02eee920c2fa1203c4f97308b2b [file] [log] [blame]
Andrew Geissler615f2f12022-07-15 14:00:58 -05001SUMMARY = "Memory Efficient Serialization Library"
2HOMEPAGE = "https://github.com/google/flatbuffers"
3SECTION = "console/tools"
4LICENSE = "Apache-2.0"
Patrick Williamsb542dec2023-06-09 01:26:37 -05005LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
Andrew Geissler87f5cff2022-09-30 13:13:31 -05006
7require flatbuffers.inc
Andrew Geissler615f2f12022-07-15 14:00:58 -05008
9PACKAGE_BEFORE_PN = "${PN}-compiler"
10
11DEPENDS = "flatbuffers-native"
12
13RDEPENDS:${PN}-compiler = "${PN}"
14RDEPENDS:${PN}-dev += "${PN}-compiler"
15
Andrew Geissler615f2f12022-07-15 14:00:58 -050016S = "${WORKDIR}/git"
17
18CVE_CHECK_IGNORE += "CVE-2020-35864"
19
20EXTRA_OECMAKE += " \
21 -DFLATBUFFERS_BUILD_TESTS=OFF \
22 -DFLATBUFFERS_BUILD_SHAREDLIB=ON \
23"
24EXTRA_OECMAKE:append:class-target = " -DFLATBUFFERS_FLATC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/flatc"
25
26inherit cmake python3native
27
28FILES:${PN}-compiler = "${bindir}"
29
30BBCLASSEXTEND = "native nativesdk"