diff options
| -rw-r--r-- | meta-oe/recipes-devtools/flatcc/flatcc_git.bb | 27 |
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 0000000000..660a44c5a5 --- /dev/null +++ b/meta-oe/recipes-devtools/flatcc/flatcc_git.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | SUMMARY = "FlatCC FlatBuffers in C for C" | ||
| 2 | DESCRIPTION = "FlatCC is a compiler that generates FlatBuffers code for C \ | ||
| 3 | given a FlatBuffer schema file." | ||
| 4 | HOMEPAGE = "https://github.com/dvidelabs/flatcc" | ||
| 5 | SECTION = "devel/lib" | ||
| 6 | LICENSE = "Apache-2.0" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b3d8fb7158bf7e2600ba3191428dc4ef" | ||
| 8 | |||
| 9 | PV = "0.6.2+gitr${SRCPV}" | ||
| 10 | |||
| 11 | SRC_URI = " \ | ||
| 12 | git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master \ | ||
| 13 | " | ||
| 14 | SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit cmake | ||
| 19 | |||
| 20 | # Enable installation for target | ||
| 21 | # Disable tests as is not possible to execute with cross-compilation | ||
| 22 | EXTRA_OECMAKE += " \ | ||
| 23 | -DFLATCC_INSTALL=On \ | ||
| 24 | -DFLATCC_TEST=Off \ | ||
| 25 | " | ||
| 26 | |||
| 27 | BBCLASSEXTEND = "native nativesdk" | ||
