mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01:00
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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user