From 4f37dfeafe32efe86dc86d06ad77b7d660b054f0 Mon Sep 17 00:00:00 2001 From: Michal Sieron Date: Sun, 29 Mar 2026 23:37:14 +0200 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 rm_flatc_cmaketarget_for_target() { rm -f "${SYSROOT_DESTDIR}/${libdir}/cmake/flatbuffers/FlatcTargets.cmake" } -SYSROOT_PREPROCESS_FUNCS:class-target += "rm_flatc_cmaketarget_for_target" +SYSROOT_PREPROCESS_FUNCS:append:class-target = " rm_flatc_cmaketarget_for_target" FILES:${PN}-compiler = "${bindir}"