From 7c2c78033327597b13750d3d78256b123966df29 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 25 Jul 2017 14:32:46 -0700 Subject: [PATCH] build: clarify --upload once again for Linux boards --- BUILD.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/BUILD.md b/BUILD.md index 1e5fd6d11f..e34a308298 100644 --- a/BUILD.md +++ b/BUILD.md @@ -75,15 +75,14 @@ list some basic and more used commands as example. ./waf --targets bin/arducopter --upload ``` - On Linux you need to first configure the IP of the board you are going to upload - to. This is done on configure phase with: + For Linux boards you need first to configure the IP of the board you + are going to upload to. This is done on configure phase with: ```sh ./waf configure --board --rsync-dest ``` - What this does is to install to a temporary location and calling - `rsync / `. Example (board and destination + The commands below give a concrete example (board and destination IP will change according to the board used): ```sh @@ -91,6 +90,10 @@ list some basic and more used commands as example. ./waf --target bin/arducopter --upload ``` + This allows to set a destination to which the `--upload` option will upload + the binary. Under the hood it installs to a temporary location and calls + `rsync / `. + On Linux boards there's also an install command, which will install to a certain directory, just like the temporary install above does. This can be used by distributors to create .deb, .rpm or other package types: