diff options
Diffstat (limited to 'meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb')
-rw-r--r-- | meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb | 6 |
1 files changed, 5 insertions, 1 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" |