| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-12-10 | scripts: use env to invoke bash | Himanshu Chauhan | |
| Not all systems have bash at a fixed location like /bin/bash. FreeBSD, for example, would typically have it at /usr/local/bin/bash. When building OpenSBI on freebsd system, the build breaks. Its advisable to use: #!/usr/bin/env bash Signed-off-by: Himanshu Chauhan <[email protected]> Reviewed-by: Xiang W <[email protected]> Reviewed-by: Anup Patel <[email protected]> | |||
| 2022-05-13 | Makefile: Add support for generating C array at compile time | Anup Patel | |
| 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]> | |||
