mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-14 07:20:52 +00:00
Merge pull request #10010 from valeriosetti/issue137-development
[development] Add components to components-build-system.sh
This commit is contained in:
commit
eb20c1f12d
@ -123,27 +123,6 @@ component_test_cmake_as_package () {
|
||||
fi
|
||||
}
|
||||
|
||||
component_test_tf_psa_crypto_cmake_as_package () {
|
||||
# Remove existing generated files so that we use the ones CMake
|
||||
# generates
|
||||
make neat
|
||||
|
||||
msg "build: cmake 'as-package' build"
|
||||
root_dir="$(pwd)"
|
||||
cd tf-psa-crypto/programs/test/cmake_package
|
||||
build_variant_dir="$(pwd)"
|
||||
cmake .
|
||||
make
|
||||
./cmake_package
|
||||
if [[ "$OSTYPE" == linux* ]]; then
|
||||
PKG_CONFIG_PATH="${build_variant_dir}/tf-psa-crypto/pkgconfig" \
|
||||
${root_dir}/framework/scripts/pkgconfig.sh \
|
||||
tfpsacrypto
|
||||
# This is the EXPECTED package name. Renaming it could break consumers
|
||||
# of pkg-config, consider carefully.
|
||||
fi
|
||||
}
|
||||
|
||||
support_test_cmake_as_package () {
|
||||
support_test_cmake_out_of_source
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 7d60bf1078578bfc809f1516c195c54cefdb510d
|
||||
Subproject commit 7d941e84a5b5c77f642186075ef45b3cc3214d57
|
Loading…
x
Reference in New Issue
Block a user