mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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:
parent
d20fbcbaae
commit
4f37dfeafe
@ -25,7 +25,7 @@ inherit cmake python3native
|
|||||||
rm_flatc_cmaketarget_for_target() {
|
rm_flatc_cmaketarget_for_target() {
|
||||||
rm -f "${SYSROOT_DESTDIR}/${libdir}/cmake/flatbuffers/FlatcTargets.cmake"
|
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}"
|
FILES:${PN}-compiler = "${bindir}"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user