[Linaro-uefi] optee-build.sh: change file for detection of..

Message ID 20190225095813.25441-1-victor.chong@linaro.org
State Superseded
Headers show
  • [Linaro-uefi] optee-build.sh: change file for detection of..
Related show

Commit Message

Victor Chong Feb. 25, 2019, 9:58 a.m.
..trusted OS directory

documentation/optee_design.md was recently removed in a patch upstream
so use another file less likely to be removed again.

Signed-off-by: Victor Chong <victor.chong@linaro.org>
 opteed-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/opteed-build.sh b/opteed-build.sh
index 2dd40ff..3229cbb 100755
--- a/opteed-build.sh
+++ b/opteed-build.sh
@@ -126,7 +126,7 @@  function build_platform
 # Check to see if we are in a trusted OS directory
 # refuse to continue if we aren't
-if [ ! -f documentation/optee_design.md ]
+if [ ! -f core/tee/tee_svc.c ]
 	echo "ERROR: we aren't in the optee_os directory."