Remove code that is useless now that components run in a subshell
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
b80f0d20ea
commit
c2e22ee271
1 changed files with 0 additions and 5 deletions
|
@ -267,10 +267,6 @@ EOF
|
||||||
# remove built files as well as the cmake cache/config
|
# remove built files as well as the cmake cache/config
|
||||||
cleanup()
|
cleanup()
|
||||||
{
|
{
|
||||||
if [ -n "${MBEDTLS_ROOT_DIR+set}" ]; then
|
|
||||||
cd "$MBEDTLS_ROOT_DIR"
|
|
||||||
fi
|
|
||||||
|
|
||||||
command make clean
|
command make clean
|
||||||
|
|
||||||
# Remove CMake artefacts
|
# Remove CMake artefacts
|
||||||
|
@ -2603,7 +2599,6 @@ component_test_cmake_out_of_source () {
|
||||||
rm ssl-opt.err
|
rm ssl-opt.err
|
||||||
cd "$MBEDTLS_ROOT_DIR"
|
cd "$MBEDTLS_ROOT_DIR"
|
||||||
rm -rf "$OUT_OF_SOURCE_DIR"
|
rm -rf "$OUT_OF_SOURCE_DIR"
|
||||||
unset MBEDTLS_ROOT_DIR
|
|
||||||
}
|
}
|
||||||
|
|
||||||
component_test_cmake_as_subdirectory () {
|
component_test_cmake_as_subdirectory () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue