skov-example-projects/README.md
Simon From Jakosen ba238692a4 fix readme
2024-08-07 12:20:08 +02:00

29 lines
747 B
Markdown

# example-projects
## Yocto
### Add layer in a Yocto project
```
bitbake-layers add-layer /path/to/meta-helloworld
```
Then add this to `build/conf/local.conf`:
```sh
IMAGE_INSTALL:append = " helloworld-c-make"
IMAGE_INSTALL:append = " helloworld-cpp-cmake"
IMAGE_INSTALL:append = " helloworld-rs"
```
### Add/create recipes in a Yocto project
```
devtool add helloworld-c-make git@bitbucket.org:dol-sensors/example-projects.git --srcbranch main --src-subdir helloworld-c-make
devtool add helloworld-cpp-cmake git@bitbucket.org:dol-sensors/example-projects.git --srcbranch main --src-subdir helloworld-cpp-cmake
devtool add helloworld-rs git@bitbucket.org:dol-sensors/example-projects.git --srcbranch main --src-subdir helloworld-rs
```