cae4da7e49
libgcc copies libgcc_s.so from toolchain sysroot and has no [source] section. Cookbook's guess_version had nothing to parse — no tar URL, no git rev, no directory-name version. Added explicit version 14.2.0 (matching the cross-compiler GCC).
11 lines
218 B
TOML
11 lines
218 B
TOML
[package]
|
|
name = "libgcc"
|
|
version = "14.2.0"
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
mkdir -p "${COOKBOOK_STAGE}/usr/lib"
|
|
cp -av ${COOKBOOK_HOST_SYSROOT}/${GNU_TARGET}/lib/libgcc_s.so* ${COOKBOOK_STAGE}/usr/lib/
|
|
"""
|