summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/flatcc/flatcc_git.bb
diff options
context:
space:
mode:
authorAngelo Ribeiro <Angelo.Ribeiro@criticaltechworks.com>2024-01-29 16:34:18 +0000
committerKhem Raj <raj.khem@gmail.com>2024-01-29 11:49:21 -0800
commit5683a9c54ac0cf20d0f1506769742572926b1d11 (patch)
tree2b45f4fbd7e16bf96ade719b9ab29b593a093dad /meta-oe/recipes-devtools/flatcc/flatcc_git.bb
parentca7dccfce81b12466fe6858d34aa8a8bc2c0363c (diff)
downloadmeta-openembedded-5683a9c54ac0cf20d0f1506769742572926b1d11.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-devtools/flatcc/flatcc_git.bb')
-rw-r--r--meta-oe/recipes-devtools/flatcc/flatcc_git.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/flatcc/flatcc_git.bb b/meta-oe/recipes-devtools/flatcc/flatcc_git.bb
new file mode 100644
index 000000000..660a44c5a
--- /dev/null
+++ b/meta-oe/recipes-devtools/flatcc/flatcc_git.bb
@@ -0,0 +1,27 @@
1SUMMARY = "FlatCC FlatBuffers in C for C"
2DESCRIPTION = "FlatCC is a compiler that generates FlatBuffers code for C \
3given a FlatBuffer schema file."
4HOMEPAGE = "https://github.com/dvidelabs/flatcc"
5SECTION = "devel/lib"
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=b3d8fb7158bf7e2600ba3191428dc4ef"
8
9PV = "0.6.2+gitr${SRCPV}"
10
11SRC_URI = " \
12 git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master \
13"
14SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196"
15
16S = "${WORKDIR}/git"
17
18inherit cmake
19
20# Enable installation for target
21# Disable tests as is not possible to execute with cross-compilation
22EXTRA_OECMAKE += " \
23 -DFLATCC_INSTALL=On \
24 -DFLATCC_TEST=Off \
25"
26
27BBCLASSEXTEND = "native nativesdk"