Android.mk: set TA_DEV_KIT_DIR default value
TA_DEV_KIT_DIR must be set to non-empty value to
avoid the Android build scripts complaining about
includes pointing outside the Android source tree.
This change fixes the AOSP builds which include
optee_test in their source tree, but OPTEE is not
added to the PRODUCT_PACKAGES.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Zoltan Kuscsik <zoltan.kuscsik@linaro.org>
diff --git a/Android.mk b/Android.mk
index ace24a0..917736d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -9,6 +9,13 @@
VERSION = $(shell git describe --always --dirty=-dev 2>/dev/null || echo Unknown)
OPTEE_CLIENT_PATH ?= $(LOCAL_PATH)/../optee_client
+# TA_DEV_KIT_DIR must be set to non-empty value to
+# avoid the Android build scripts complaining about
+# includes pointing outside the Android source tree.
+# This var is expected to be set when OPTEE OS built.
+# We set the default value to an invalid path.
+TA_DEV_KIT_DIR ?= ../invalid_include_path
+
-include $(TA_DEV_KIT_DIR)/host_include/conf.mk
include $(CLEAR_VARS)