Commit Graph

6 Commits

Author SHA1 Message Date
Alper Ak
a26e19f191
flatcc: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:18 -07:00
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
Martin Jansa
c5c28d716b
flatcc: drop 'r' from gitr and ${SRCPV}
* +git is preferred over +gitr since 2012:
  https://lists.openembedded.org/g/openembedded-core/topic/72154716#16837
  some recipes still use +gitr, because updating it would cause PV going backwards
  but this recipe was added just recently so adjust that

* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:11 -08:00
Martin Jansa
37da936b5b
flatcc: respect baselib
* avoid installed-vs-shipped with multilib when baselib is lib32 or lib64 instead of just lib

ERROR: QA Issue: lib32-flatcc: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/libflatcc.a
  /usr/lib/libflatccrt.a
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lib32-flatcc: 3 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:11 -08:00
Khem Raj
b239853fd3
flatcc: Fix build warnings found with clang-18
Fix what we can, and also disable warning-as-error as some compilers can
be quite ambitious.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-01 19:02:38 -08:00
Angelo Ribeiro
5683a9c54a
flatcc: Add tool recipe
Add FlatCC FlatBuffers in C for C.
FlatCC is a compiler that generates FlatBuffers code for C given a
FlatBuffer schema file.

Signed-off-by: Angelo Ribeiro <Angelo.Ribeiro@criticaltechworks.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-29 11:49:21 -08:00