Skip to content

Commit

Permalink
tf-a-tools: fix RPATH
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Quaresma <[email protected]>
  • Loading branch information
quaresmajose committed Aug 24, 2022
1 parent 6394794 commit 58652f8
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,19 @@ COMPATIBLE_HOST:class-target = "null"

S = "${WORKDIR}/git"

EXTRA_OEMAKE += "V=1 OPENSSL_DIR='${STAGING_EXECPREFIXDIR}'"
EXTRA_OEMAKE += "V=1 HOSTCC='${BUILD_CC}' OPENSSL_DIR='${STAGING_EXECPREFIXDIR}'"
EXTRA_OEMAKE += "certtool fiptool"

do_configure[noexec] = "1"

do_compile:prepend () {
# This is still needed to have the native fiptool executing properly by
# setting the RPATH
sed -e '/^LDLIBS/ s,$, \$\{BUILD_LDFLAGS},' \
-e '/^INCLUDE_PATHS/ s,$, \$\{BUILD_CFLAGS},' \
-i ${S}/tools/fiptool/Makefile
}

do_install() {
install -d ${D}${bindir}
install -m 0755 \
Expand Down

0 comments on commit 58652f8

Please sign in to comment.