summaryrefslogtreecommitdiff
path: root/edk2-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'edk2-build.sh')
-rwxr-xr-xedk2-build.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/edk2-build.sh b/edk2-build.sh
index 8169c17..46a9575 100755
--- a/edk2-build.sh
+++ b/edk2-build.sh
@@ -193,6 +193,11 @@ function configure_paths
GLOBAL_PACKAGES_PATH="$GLOBAL_PACKAGES_PATH:$NON_OSI_DIR"
fi
+ # locate arm-trusted-firmware
+ if [ -z "$ATF_DIR" -a -d "$PWD"/arm-trusted-firmware ]; then
+ ATF_DIR="$PWD"/arm-trusted-firmware
+ fi
+
export WORKSPACE
}