Skip to content
Snippets Groups Projects
Commit b23c4318 authored by Stefan Schmidt's avatar Stefan Schmidt
Browse files

tf-a-tools: Add bbappend to fix native build on host without openssl-devel

The Makefile has some assumptions which result in a dependency on
openssl-devel on the host. The exact same problem was already fixed in
the meta-arm layer so we are simply going with the same sed solution and
add the native dependency on openssl.

https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc#n162



Signed-off-by: default avatarStefan Schmidt <stefan.schmidt@huawei.com>
parent 57e6b3b7
No related branches found
No related tags found
No related merge requests found
DEPENDS += "openssl-native"
EXTRA_OEMAKE += "OPENSSL_DIR=${STAGING_DIR_NATIVE}/${prefix_native}"
do_compile() {
# These changes are needed to have the native tools compiling and executing properly
# https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc#n162
sed -i '/^LDLIBS/ s,$, \$\{BUILD_LDFLAGS},' ${S}/tools/fiptool/Makefile
sed -i '/^INCLUDE_PATHS/ s,$, \$\{BUILD_CFLAGS},' ${S}/tools/fiptool/Makefile
oe_runmake certtool fiptool
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment