Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decrease compile time with nanostack-libservice
nanostack-libservice involves two parts: common (e.g. libip4string) and nanostack-specific (e.g. nvmHelper). For nanostack-specific, it needs to link nanostack hal and will pull in 200+ nanostack files for compile. This is unnecessary for common only application e.g. lwipstack. To fix this, the following strategy is applied for nanostack-libservice cmake listfile: 1. For compiling nanostack-specific, it doesn't rely on nanostack hal because its needed header file has placed underneath (mbed-client-libservice/platform). 2. For application needing the nanostack-specific, the nanostack cmake listfile shall specify the link dependency.
- Loading branch information