Commit Graph

7 Commits

Author SHA1 Message Date
Thuận Nguyễn-Thái 3bbff68a3c libsimplelog: upgrade 1.0.8 -> 1.1.0
Upgrade libsimplelog to the latest upstream version 1.1.0.

Drop 0001-allow-build-with-cmake-4.patch as it is now integrated
upstream (commit 4827c4325063266f6d2a7e133a9d3a9050ff6a3c).

Update LIC_FILES_CHKSUM due to upstream updating the copyright year
range from 2024 to 2024-2026 in LICENSE.txt. The project remains fully
under the MIT license.

Append -D__LINUX__=1 and -D_GNU_SOURCE=1 to EXTRA_OECMAKE to enable
Linux and GNU-specific extensions like sched_getcpu() for better
performance effectiveness. These flags are optional; without them,
version 1.1.0 remains fully backward compatible and adapts perfectly
with strictly POSIX musl environments.

Signed-off-by: Thuận Nguyễn-Thái <nguyenthaithuanalg@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-20 23:08:12 -07:00
Thuận Nguyễn-Thái 91b07cfc7a libsimplelog: add binary log feature and cache hit/miss support
Introduce a new binary log feature based on UTF-8 encoding patterns
to optimize logging capabilities.

Add cache hit and miss tracking mechanism to monitor performance
effectiveness.

Signed-off-by: Thuận Nguyễn-Thái <nguyenthaithuanalg@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-20 23:08:12 -07:00
Alper Ak f5b8dae3da libsimplelog: Add patch for CMake 4+ compatibility
Fix:

| CMake Error in CMakeLists.txt:
|   No cmake_minimum_required command is present.  A line of code such as
|
|     cmake_minimum_required(VERSION 4.0)
|
|   should be added at the top of the file.  The version specified may be lower
|   if you wish to support older CMake versions for this project.  For more
|   information run "cmake --help-policy CMP0000".
|
|
| -- 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
Thuận Nguyễn-Thái 3b1cc7418f libsimplelog: v1.0.7 -> v1.0.8
- Fix daily/monthly/yearly error.
- Check with Raspberry PI 3 B+.

Signed-off-by: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-20 10:34:11 -07:00
Thuận Nguyễn-Thái f677cabe3f libsimplelog: v1.0.6 -> v1.0.7
- Add "spl_err_txt", to get text of error code.

Signed-off-by: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-22 17:39:09 -07:00
Thuận Nguyễn-Thái 8b2afbeee2 libsimplelog: Move to recipes-support
Signed-off-by: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-05 10:18:38 -07:00