Yanfeng Liu 14d4059159 Zig: revise apps build support
This requires nuttx/pull/11548 to work.

- Zig apps can use normal entrance "main()" now as we
- added RENAMEMAIN for none BUILD_MODULE case.
- enabled Zig program building in BUILD_MODULE case.

Note the Zig main source need to have "fn main(" pattern as
renaming is implemented via `sed`.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-01-21 06:21:18 -08:00
..
2024-01-21 06:21:18 -08:00
2022-03-16 12:18:01 +08:00
2022-03-16 12:18:01 +08:00
2024-01-21 06:21:18 -08:00