mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 06:33:06 +00:00
Define FRAMEWORK
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
This commit is contained in:
parent
2e37806ace
commit
8993fecae4
@ -10,6 +10,7 @@
|
||||
|
||||
# This script must be invoked from the project's root.
|
||||
|
||||
source framework/scripts/all-core.sh
|
||||
FRAMEWORK="$PWD/framework"
|
||||
source $FRAMEWORK/scripts/all-core.sh
|
||||
|
||||
main "$@"
|
||||
|
@ -19,10 +19,12 @@ fi
|
||||
|
||||
if [ -d ../include/mbedtls -a -d ../framework ]; then
|
||||
# Running inside an mbedtls checkout: get the framework from mbedtls.
|
||||
source ../framework/scripts/all-core.sh
|
||||
FRAMEWORK="$PWD/../framework"
|
||||
else
|
||||
# Running standalone: use our own framework.
|
||||
source framework/scripts/all-core.sh
|
||||
FRAMEWORK="$PWD/framework"
|
||||
fi
|
||||
|
||||
source $FRAMEWORK/scripts/all-core.sh
|
||||
|
||||
main "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user