summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Sieron <michalwsieron@gmail.com>2026-03-29 23:37:14 +0200
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-04-01 13:16:38 -0700
commit4f37dfeafe32efe86dc86d06ad77b7d660b054f0 (patch)
tree71d6e255fd8a005bb82dc57e0ef1ae16aef8144f
parentd20fbcbaaeef9b6cd711ef53b3b2a4a1668a1591 (diff)
downloadmeta-openembedded-4f37dfeafe32efe86dc86d06ad77b7d660b054f0.tar.gz
flatbuffers: Convert confusing append to override syntax
While in this case `SYSROOT_PREPROCESS_FUNCS:class-target +=` wouldn't result in any unwanted override, there is no guarantee there won't be a change, which would be hidden by this override. To avoid any surprises in the future let's use `:append:class-target =` syntax here. Signed-off-by: Michal Sieron <michalwsieron@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
-rw-r--r--meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb
index c51a49ba01..289330ee04 100644
--- a/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb
+++ b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb
@@ -25,7 +25,7 @@ inherit cmake python3native
25rm_flatc_cmaketarget_for_target() { 25rm_flatc_cmaketarget_for_target() {
26 rm -f "${SYSROOT_DESTDIR}/${libdir}/cmake/flatbuffers/FlatcTargets.cmake" 26 rm -f "${SYSROOT_DESTDIR}/${libdir}/cmake/flatbuffers/FlatcTargets.cmake"
27} 27}
28SYSROOT_PREPROCESS_FUNCS:class-target += "rm_flatc_cmaketarget_for_target" 28SYSROOT_PREPROCESS_FUNCS:append:class-target = " rm_flatc_cmaketarget_for_target"
29 29
30FILES:${PN}-compiler = "${bindir}" 30FILES:${PN}-compiler = "${bindir}"
31 31