aboutsummaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2022-05-13 09:26:00 +0530
committerAnup Patel <anup@brainfault.org>2022-05-13 09:26:00 +0530
commit7fb474b9dde5d56e0d4d6a0c1627337694cdc2f2 (patch)
treef9f70da61cd5242633ec8dd1587bade2f088abd1 /lib/utils
parentf726f2dc0186964feb17296471233086bcc3d1b2 (diff)
downloadopensbi-7fb474b9dde5d56e0d4d6a0c1627337694cdc2f2.zip
opensbi-7fb474b9dde5d56e0d4d6a0c1627337694cdc2f2.tar.gz
opensbi-7fb474b9dde5d56e0d4d6a0c1627337694cdc2f2.tar.bz2
Makefile: Add support for generating C array at compile time
Generating C array at compile time based on details provided by objects.mk is a very useful feature which will help us compile only a subset of drivers or modules. We add a bash script (carray.sh) which takes array details and object/variable list from command-line to generate a C source containing array of object/variable pointers. We also extend top-level makefile to use carray.sh whenever specified through objects.mk. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com>
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions