no1wudi opened a new pull request, #1784:
URL: https://github.com/apache/nuttx-apps/pull/1784
## Summary
If we add `WASM_BUILD = y` to a makefile of some apps, the app will be
compiled as a builtin nsh command and a wasm module, by add a gurad to
builtin_list, we can control wether to build the app as a nsh command.
For example, without this patch we will get `hello.bdat`:
```
{ "hello", 100, 2048, hello_main },
```
With this patch, we will get a macro guraded version of it:
```
#ifndef CONFIG_HELLO_WASM_BUILD_ONLY
{ "hello", 100, 2048, hello_main },
#endif
```
If we don't want to build the app into nsh, just add a new option
XXX_WASM_BUILD_ONLY to Kconfig of this app and enable it.
Depends on: https://github.com/apache/nuttx/pull/9462
## Impact
New feature
## Testing
CI and local machine
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]