From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 7 Jul 2016 12:23:37 -0600 Subject: [U-Boot] [PATCH 09/11] buildman: Add a quick-start note In-Reply-To: <1467580467-19186-10-git-send-email-sjg@chromium.org> References: <1467580467-19186-1-git-send-email-sjg@chromium.org> <1467580467-19186-10-git-send-email-sjg@chromium.org> Message-ID: <577E9E29.9070101@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/03/2016 03:14 PM, Simon Glass wrote: > For those who just want to build a board, it is useful to see a quick hint > right at the start of the documentation. Add a few commands showing how to > download toolchains and build a board. > diff --git a/tools/buildman/README b/tools/buildman/README > +If you just want to quickly set up buildman so you can build something (for > +example Raspberry Pi 2), and don't mind downloading lots of stuff: > + > + cd /path/to/u-boot > + PATH=$PATH:`pwd`/tools/buildman > + buildman --fetch-arch all > + buildman -k rpi_2 > + ls ../current/rpi_2 > + # u-boot.bin is the output image For just an rpi_2 build, perhaps "--fetch-arch arm" would be quicker, although I suppose then you'd have to make the text more complicated by pointing out that it only downloads an ARM toolchain and so the user would need to --fetch-arch again for anything else.