commit | dfc1f8f492f3efbaa9b9a4c64a0345084dbd851b | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome.forissier@linaro.org> | Mon Oct 09 17:46:23 2023 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Tue Oct 10 11:06:38 2023 +0200 |
tree | e7097b41607a0e64ed696924c16a7ca513d7e55c | |
parent | 076b93fcfdec43e3e1d7f103f3ccbf658cbe386d [diff] |
optee_rust_examples_ext: add missing dependency on optee_client_ext The Rust examples need the OP-TEE client libray so add the proper dependency to br-ext/package/optee_rust_examples_ext/optee_rust_examples_ext.mk. Fixes the following error: $ make -j$(nproc) OPTEE_RUST_ENABLE=y buildroot ... error: linking with `aarch64-linux-gnu-gcc` failed: exit status: 1 | = note: "aarch64-linux-gnu-gcc" "/root/optee_repo_qemu_v8/out-br/build/optee_rust_examples_ext-1.0/examples/acipher-rs/host/target/aarch64-unknown-linux-gnu/release/deps/acipher_rs-81173f6bf08a244c.acipher_rs.a4de9379-cgu.1.rcgu.o" "-Wl,--as-needed" "-L" "/root/optee_repo_qemu_v8/out-br/build/optee_rust_examples_ext-1.0/examples/acipher-rs/host/target/aarch64-unknown-linux-gnu/release/deps" "-L" "/root/optee_repo_qemu_v8/out-br/build/optee_rust_examples_ext-1.0/examples/acipher-rs/host/target/release/deps" "-L" "/root/optee_repo_qemu_v8/out-br/build/optee_rust_examples_ext-1.0/../../../out-br/build/optee_client_ext-1.0/libteec" "-L" "/root/.rustup/toolchains/nightly-2021-09-20-x86_64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,--end-group" "-Wl,-Bstatic" "/root/.rustup/toolchains/nightly-2021-09-20-x86_64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcompiler_builtins-7aa4e75c33b75c4b.rlib" "-Wl,-Bdynamic" "-lteec" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/root/.rustup/toolchains/nightly-2021-09-20-x86_64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-o" "/root/optee_repo_qemu_v8/out-br/build/optee_rust_examples_ext-1.0/examples/acipher-rs/host/target/aarch64-unknown-linux-gnu/release/deps/acipher_rs-81173f6bf08a244c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" = note: /root/optee_repo_qemu_v8/toolchains/aarch64/bin/../lib/gcc/aarch64-none-linux-gnu/11.3.1/../../../../aarch64-none-linux-gnu/bin/ld: cannot find -lteec: No such file or directory collect2: error: ld returned 1 exit status Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
This git contains makefiles etc to be able to build a full OP-TEE developer setup for the OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The pages that used to be here in this git can be found under build and Device specific information at he new location for the OP-TEE documentation.
// OP-TEE core maintainers