diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2023-04-11 10:43:05 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2023-04-11 11:42:41 +0200 |
commit | 452282708ced5c5a8ec3c0de63ec936586592477 (patch) | |
tree | d53eb2612a6cb1ece8fa9a7b7c9864ece4e682b4 /configs/bsp.ref | |
parent | 2f901a8a273b152cf9372e89fb64a55ebbaa71b3 (diff) | |
download | DistroKit-452282708ced5c5a8ec3c0de63ec936586592477.tar.gz DistroKit-452282708ced5c5a8ec3c0de63ec936586592477.tar.xz |
ptxconfig: enable libatomic
Since openssl 3.x, they link agains libatomic unconditionally, and we build
with -Wl,--as-needed so it gets dropped on platforms that don't need it.
This triggers a reason warning on platform-rpi1 and platform-mips.
Enable libatomic locally and whitelist the reason check. This adds a
small library, but shouldn't harm otherwhise.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/bsp.ref')
-rw-r--r-- | configs/bsp.ref | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/bsp.ref b/configs/bsp.ref index 60dfe9e..ac2fdcc 100644 --- a/configs/bsp.ref +++ b/configs/bsp.ref @@ -21,4 +21,10 @@ kernel_dtb_partitions: value: True - value: False +rootfs_unused_libraries: + description: | + - libatomic is needed on mips and rpi1 by libcrypto, but for simplicity ship it on all platforms + optional: + - !!re '/usr/lib/libatomic\.so.*' + # vim: filetype=yaml shiftwidth=2 expandtab |