diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2024-07-01 15:10:58 +0100 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-07-04 10:52:37 +0530 |
commit | 75ad25ab59fdb7d00cfab6f3646c635e51de07e0 (patch) | |
tree | 508166e3ef2a67d298feffcd262451c35efa7e13 | |
parent | d8608e615fae150ddb54e9b54d0e1fb5f16a9d9c (diff) | |
download | opensbi-75ad25ab59fdb7d00cfab6f3646c635e51de07e0.zip opensbi-75ad25ab59fdb7d00cfab6f3646c635e51de07e0.tar.gz opensbi-75ad25ab59fdb7d00cfab6f3646c635e51de07e0.tar.bz2 |
scripts/carray.sh: Add comment to generated files
Add a comment about where auto-generated file came from to the carray.sh
output. This should help avoiding confusion for the developers looking
at the build artifacts and finding .c files there.
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Anup Patel <anup@brainfault.org>
-rwxr-xr-x | scripts/carray.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/carray.sh b/scripts/carray.sh index 13f9d36..1fa2366 100755 --- a/scripts/carray.sh +++ b/scripts/carray.sh @@ -61,6 +61,7 @@ if [ -z "${ARRAY_NAME}" ]; then usage fi +printf "// Generated with $(basename $0) from $(basename ${CONFIG_FILE})\n" printf "#include <%s>\n\n" "${TYPE_HEADER}" for VAR in ${VAR_LIST}; do |