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>
This commit is contained in:
Michal Sieron 2026-03-29 23:37:14 +02:00 committed by Khem Raj
parent ff1bf16f10
commit 825c26b397
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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}"