This repository has been archived by the owner on Sep 18, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andrei Gherzan <andrei@resin.io>
- Loading branch information
Andrei Gherzan
committed
Aug 3, 2016
1 parent
3c3bdde
commit 8f3153d
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# resin-artik710 repository | ||
|
||
## Clone/Initialize the repository | ||
|
||
There are two ways of initializing this repository: | ||
* Clone this repository with "git clone --recursive". | ||
|
||
or | ||
|
||
* Run "git clone" and then "git submodule update --init --recursive". This will | ||
bring in all the needed dependencies. | ||
|
||
## Build information | ||
|
||
### Build flags | ||
|
||
* Consult layers/meta-resin/README.md for info on various build flags (setting | ||
up serial console support for example) and build prerequisites. Build flags can | ||
be set by using the build script (barys) or by manually modifying `local.conf`. | ||
|
||
See below for using the build script. | ||
|
||
### Build this repository | ||
|
||
* Run the build script: | ||
`./resin-yocto-scripts/build/barys` | ||
|
||
* You can also run barys with the -h switch to inspect the available options | ||
|
||
### Custom build using this repository | ||
|
||
* Run the build script in dry run mode to setup an empty `build` directory | ||
`./resin-yocto-scripts/build/barys --remove-build --dry-run` | ||
|
||
* Edit the `local.conf` in the `build/conf` directory | ||
|
||
* Prepare build's shell environment | ||
`source layers/poky/oe-init-build-env` | ||
|
||
* Run bitbake (see message outputted when you sourced above for examples) |