diff options
Diffstat (limited to 'meta-oe/recipes-devtools/flatbuffers')
-rw-r--r-- | meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb | 6 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc | 4 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb | 4 |
3 files changed, 9 insertions, 5 deletions
diff --git a/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb index 183554e2c8..c51a49ba01 100644 --- a/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb +++ b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb | |||
@@ -13,7 +13,6 @@ DEPENDS = "flatbuffers-native" | |||
13 | RDEPENDS:${PN}-compiler = "${PN}" | 13 | RDEPENDS:${PN}-compiler = "${PN}" |
14 | RDEPENDS:${PN}-dev += "${PN}-compiler" | 14 | RDEPENDS:${PN}-dev += "${PN}-compiler" |
15 | 15 | ||
16 | S = "${WORKDIR}/git" | ||
17 | 16 | ||
18 | EXTRA_OECMAKE += " \ | 17 | EXTRA_OECMAKE += " \ |
19 | -DFLATBUFFERS_BUILD_TESTS=OFF \ | 18 | -DFLATBUFFERS_BUILD_TESTS=OFF \ |
@@ -23,6 +22,11 @@ EXTRA_OECMAKE:append:class-target = " -DFLATBUFFERS_FLATC_EXECUTABLE=${STAGING_B | |||
23 | 22 | ||
24 | inherit cmake python3native | 23 | inherit cmake python3native |
25 | 24 | ||
25 | rm_flatc_cmaketarget_for_target() { | ||
26 | rm -f "${SYSROOT_DESTDIR}/${libdir}/cmake/flatbuffers/FlatcTargets.cmake" | ||
27 | } | ||
28 | SYSROOT_PREPROCESS_FUNCS:class-target += "rm_flatc_cmaketarget_for_target" | ||
29 | |||
26 | FILES:${PN}-compiler = "${bindir}" | 30 | FILES:${PN}-compiler = "${bindir}" |
27 | 31 | ||
28 | BBCLASSEXTEND = "native nativesdk" | 32 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc index 8f6c4c68f1..36b448a41c 100644 --- a/meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc +++ b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc | |||
@@ -1,3 +1,3 @@ | |||
1 | PV = "24.3.25" | 1 | PV = "25.2.10" |
2 | SRCREV = "595bf0007ab1929570c7671f091313c8fc20644e" | 2 | SRCREV = "1c514626e83c20fffa8557e75641848e1e15cd5e" |
3 | SRC_URI = "git://github.com/google/flatbuffers.git;branch=master;protocol=https" | 3 | SRC_URI = "git://github.com/google/flatbuffers.git;branch=master;protocol=https" |
diff --git a/meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb b/meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb index 5d3c73fd9a..feb206f27c 100644 --- a/meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb +++ b/meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb | |||
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://../LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | |||
6 | 6 | ||
7 | require flatbuffers.inc | 7 | require flatbuffers.inc |
8 | 8 | ||
9 | S = "${WORKDIR}/git/python" | 9 | S = "${UNPACKDIR}/${BP}/python" |
10 | 10 | ||
11 | RDEPENDS:${PN} = "flatbuffers" | 11 | RDEPENDS:${PN} = "flatbuffers" |
12 | 12 | ||
13 | inherit setuptools3 | 13 | inherit setuptools3 |
14 | 14 | ||
15 | BBCLASSEXTEND = "native" | 15 | BBCLASSEXTEND = "native nativesdk" |