From 600cf9d142ebe8520020d9d49bb8f314a37cf459 Mon Sep 17 00:00:00 2001 From: Hugues de Valon Date: Fri, 29 May 2020 10:29:49 +0100 Subject: [PATCH] Add usage info of generate_psa_constants script Signed-off-by: Hugues de Valon --- scripts/generate_psa_constants.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/generate_psa_constants.py b/scripts/generate_psa_constants.py index c441b4e15..175cd9ffc 100755 --- a/scripts/generate_psa_constants.py +++ b/scripts/generate_psa_constants.py @@ -1,9 +1,14 @@ #!/usr/bin/env python3 -"""Generate programs/psa/psa_constant_names_generated.c +"""Generate psa_constant_names_generated.c which is included by programs/psa/psa_constant_names.c. The code generated by this module is only meant to be used in the context of that program. + +An argument passed to this script will modify the output directory where the +file is written: +* by default (no arguments passed): writes to programs/psa/ +* OUTPUT_FILE_DIR passed: writes to OUTPUT_FILE_DIR/ """ import os