platform: generic: Generate platform override module list at compile-time

Instead of having platform override module list hard-coded in the C source,
we generate it using carray.sh at compile-time.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
This commit is contained in:
Anup Patel
2022-05-13 09:27:18 +05:30
committed by Anup Patel
parent 4eacd8229b
commit a3a3c60b66
3 changed files with 13 additions and 9 deletions

View File

@@ -0,0 +1,3 @@
HEADER: platform_override.h
TYPE: const struct platform_override
NAME: platform_override_modules