blob: 183554e2c82d225b63f0a9eba5e8797a30768b3d [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
Andrew Geissler615f2f12022-07-15 14:00:58 -050018EXTRA_OECMAKE += " \
19 -DFLATBUFFERS_BUILD_TESTS=OFF \
20 -DFLATBUFFERS_BUILD_SHAREDLIB=ON \
21"
22EXTRA_OECMAKE:append:class-target = " -DFLATBUFFERS_FLATC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/flatc"
23
24inherit cmake python3native
25
26FILES:${PN}-compiler = "${bindir}"
27
28BBCLASSEXTEND = "native nativesdk"