Adding ifndef for TEE_FS_SUBPATH and TEE_FS_PATH.
Change-Id: I009b49f96094a230ac1b43d90471cd2519ffb7be
TEES_CFLAGS := $(addprefix -I, $(TEES_INCLUDES)) $(CFLAGS) \
-DDEBUGLEVEL_$(CFG_TEE_SUPP_LOG_LEVEL) \
-DBINARY_PREFIX=\"TEES\"
+TEES_CFLAGS += -DTEE_FS_SUBPATH=\"$(TEE_FS_SUBPATH)\" -DTEE_FS_PATH=\"$(TEE_FS_PATH)\"
ifeq ($(CFG_GP_SOCKETS),y)
TEES_CFLAGS += -DCFG_GP_SOCKETS=1
endif
#include <linux/tee.h>
/* Path to all secure storage files. */
+#ifndef TEE_FS_SUBPATH
#define TEE_FS_SUBPATH "/data"
+#endif
+#ifndef TEE_FS_PATH
#define TEE_FS_PATH "/data/tee/"
+#endif
#ifndef PATH_MAX
#define PATH_MAX 255