Commit Graph

5 Commits

Author SHA1 Message Date
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
BINDU f3be6cf146 flatbuffers: adapt for cross-compilation environments
Flatbuffers contains a library and a schema compiler. The package
contains cmake files to discover the libraries and the compiler tool.
Currently, all of these cmake files are installed into the target
sysroot. However, the compiler utility isn't installed into the sysroot
(as it is not runnable on the build machine).

When an application that depends on flatbuffers gets built, it uses
flatbuffers' exported cmake targets to configure the project. One of the
exported targets is FlatcTarget.cmake which expects to see flatc binary
in /usr/bin of the sysroot. Since binaries for target don't end up in
target sysroot, cmake configuration fails.

This patch addresses this problem of flatbuffers' build infrastructure
in cross-compiling environments. By removing FlatcTarget.cmake for
target builds from the sysroot we essentially skip this step of
flatbuffers' configuration.

(cherry picked from commit b97dbaac66)

Signed-off-by: Ivan Stepic <Ivan.Stepic@bmw.de>
Signed-off-by: Bhabu Bindu <bindudaniel1996@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Akash Hadke <akash.hadke27@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-09 08:51:11 -07:00
Andrej Valek 8af2f17a6f cve_check: convert CVE_CHECK_IGNORE to CVE_STATUS
- Try to add convert and apply statuses for old CVEs
- Drop some obsolete ignores, while they are not relevant for current
  version

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-27 08:54:40 -07:00
Wang Mingyu b3626edcd7 flatbuffers: upgrade 23.1.4 -> 23.3.56
License_update: Rename LICENSE.txt to LICENSE

Changelog:
==========
    Mostly bug fixing for 64-bit support
    Adds support for specifying underling type of unions in C++ and TS/JS (#7954)
    64-bit support for C++ (#7935)
    add key_field to compiled tests
    Add golden language directory
    Rework cmake flatc codegeneration (#7938)
    remove defining generated files in test srcs
    Add binary schema reflection (#7932)
    Migrate from rules_nodejs to rules_js/rules_ts (take 2) (#7928)
    flat_buffers.dart: mark const variable finals for internal Dart linters
    fixed some windows warnings (#7929)
    inject no long for FBS generation to remove logs in flattests (#7926)
    Revert "Migrate from rules_nodejs to rules_js/rules_ts (#7923)" (#7927)
    Migrate from rules_nodejs to rules_js/rules_ts (#7923)
    Only generate @kotlin.ExperimentalUnsigned annotation on create*Vector methods having an unsigned array type parameter. (#7881)
    additional check for absl::string_view availability (#7897)
    Optionally generate Python type annotations (#7858)
    Replace deprecated command with environment file (#7921)
    drop glibc from runtime dependencies (#7906)
    Make JSON supporting advanced union features (#7869)
    Allow to use functions from BuildFlatBuffers.cmake from a flatbuffers installation installed with CMake. (#7912)
    TS/JS: Use TypeError instead of Error when appropriate (#7910)
    Go: make generated code more compliant to "go fmt" (#7907)
    Support file_identifier in Go (#7904)
    Optionally generate type prefixes and suffixes for python code (#7857)
    Go: add test for FinishWithFileIdentifier (#7905)
    Fix go_sample.sh (#7903)
    [TS/JS] Upgrade dependencies (#7889)
    Add a FileWriter interface (#7821)
    TS/JS: Use minvalue from enum if not found (#7888)
    [CS] Verifier (#7850)
    README.md: PyPI case typo (#7880)
    Update go documentation link to point to root module (#7879)
    use Bool for flatbuffers bool instead of Byte (#7876)
    fix using null string in vector (#7872)
    Add flatbuffers-64 branch to CI for pushes
    made changes to the rust docs so they would compile. new_with_capacity is deprecated should use with_capacity, get_root_as_monster should be root_as_monster (#7871)
    Adding comment for code clarification (#7856)
    ToCamelCase() when kLowerCamel now converts first char to lower. (#7838)
    Fix help output for --java-checkerframework (#7854)
    Update filename to README.md and improve formatting (#7855)
    Update stale.yml
    Updated remaining usages of LICENSE.txt
    Refactoring of flatc generators to use an interface (#7797).
    Removed legacy cmake support and set min to 3.8 (#7801).
    Reworked entry points for Typescript/Javascript and compatibility for single file build (#7510)
    Removed go.mod files after some versioning issues were being report (#7780).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-31 08:28:50 -07:00
Markus Volk 0e3c62c5bc flatbuffers: upgrade 2.0.6 -> 2.0.8
* upgrade python3-flatbuffers as well
* make sure that flatbuffers and python3-flatbuffers are using the same codebase

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-13 09:55:03 -07:00