Skip to content
Snippets Groups Projects
Commit b9a293da authored by rodolakis's avatar rodolakis
Browse files

5.1 explanation

parent 45db793c
No related branches found
No related tags found
1 merge request!2Fanny whatdoesitmean
......@@ -42,6 +42,13 @@ index e7aba0e..39736e4 100644
```
</details>
<details>
<summary>what does this mean?</summary>
This step tells the build system **where** to find the **motorVMC** module, but it does not tell the build system **what** to include in the IOC build. This is determined by the **xxxApp/src/Makefile**.
</details>
### 5.2 Add motorVMC to the IOC's src/Makefile
Add the motorVMC database and library to **xxxApp/src/Makefile**
......@@ -119,7 +126,7 @@ endif
- `$(PROD_NAME)_LIBS := vmc $($(PROD_NAME)_LIBS)`:
- This expression assigns the value `vmc` as the first element in the `$(PROD_NAME)_LIBS` variable, and it appends the existing value of `$(PROD_NAME)_LIBS` after `vmc`.
- `$(PROD_NAME)_LIBS` is a variable that holds the names of libraries the IOC application depends on.
- Note: the `gcc -l` [flag](https://stackoverflow.com/questions/6231206/lib-prefix-on-libraries) requires libraries to omit the `lib` prefix and the `.a` extension.
- Note: the convention is to omit the `lib` prefix and the `.a` extension (this is requirement from the `gcc -l` [flag](https://stackoverflow.com/questions/6231206/lib-prefix-on-libraries)).
</details>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment