14 Commits

Author SHA1 Message Date
Khem Raj
77153a478a
safec: Upgrade to 3.9.1
Drop patch since its fixed by [1] in 3.9.1
Add a patch to fix new warning seen with gcc 15.2

[1] https://github.com/rurban/safeclib/issues/125

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-13 20:38:43 -07:00
Khem Raj
c324bee29d
safec: Pass Qunused-arguments when using clang
Fixes build issue since clang does not respect some options

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-18 21:02:45 -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
Khem Raj
8cb8931757 safec: Remove unused variable 'len'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-23 09:55:28 -07:00
Khem Raj
c535b7e879 safec: Upgrade to 3.7.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-13 19:21:40 -07:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
257f67186c safec: Update to latest on 3.5.1 release tags
It build fine on mips now.
Musl patch is no longer needed and musl provides memrchr

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-22 09:03:04 -07:00
Moorthy
77bb271721 safec: aarch64 support added
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-16 11:40:40 -07:00
Khem Raj
e9fdc5acb4 safec: Put perl requiring tools into separate package
There is one script - a check tool that needs perl on
target, which perhaps is only needed during development and testing
therefore move that to a separate package. Rest of safec is then
independent of perl runtime requirement.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-20 07:44:29 -07:00
Khem Raj
2c97f18706 safec: Upgrade to 3.5 release
Add a patch to fix build on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-11 13:51:15 -07:00
Khem Raj
c93f66d65a safec: Define _GNU_SOURCE
musl does not define this variable automatically but safec does provide
wrapper for some GNU extentions as well e.g.

error: implicit declaration of function 'localtime_r' is invalid in C99

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-10 23:56:00 -07:00
Ankit Navik
1501d0c4cc safec: Remove aarch64 from COMPATIBLE_HOST
Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-22 21:31:51 -07:00
Ankit Navik
7a81eea01a safec: Initial recipe for safe C library
Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top of most libc
implementations, which are missing from them.

Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-29 02:21:42 -07:00