diff options
| author | Anup Patel <[email protected]> | 2022-05-13 09:26:00 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-05-13 09:26:00 +0530 |
| commit | 7fb474b9dde5d56e0d4d6a0c1627337694cdc2f2 (patch) | |
| tree | f9f70da61cd5242633ec8dd1587bade2f088abd1 /lib/utils | |
| parent | f726f2dc0186964feb17296471233086bcc3d1b2 (diff) | |
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 <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions
