mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
flatcc: Add tool recipe
Add FlatCC FlatBuffers in C for C. FlatCC is a compiler that generates FlatBuffers code for C given a FlatBuffer schema file. Signed-off-by: Angelo Ribeiro <Angelo.Ribeiro@criticaltechworks.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
SUMMARY = "FlatCC FlatBuffers in C for C"
|
||||
DESCRIPTION = "FlatCC is a compiler that generates FlatBuffers code for C \
|
||||
given a FlatBuffer schema file."
|
||||
HOMEPAGE = "https://github.com/dvidelabs/flatcc"
|
||||
SECTION = "devel/lib"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=b3d8fb7158bf7e2600ba3191428dc4ef"
|
||||
|
||||
PV = "0.6.2+gitr${SRCPV}"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master \
|
||||
"
|
||||
SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake
|
||||
|
||||
# Enable installation for target
|
||||
# Disable tests as is not possible to execute with cross-compilation
|
||||
EXTRA_OECMAKE += " \
|
||||
-DFLATCC_INSTALL=On \
|
||||
-DFLATCC_TEST=Off \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user