From 721adc4c6ba1177958c3a9dbabbfe70aefe669e3 Mon Sep 17 00:00:00 2001 From: rubo77 Date: Sat, 15 Jun 2019 23:03:17 +0200 Subject: [PATCH] docs: Add example how to build all targets --- docs/user/getting_started.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/user/getting_started.rst b/docs/user/getting_started.rst index a8201e99..00788643 100644 --- a/docs/user/getting_started.rst +++ b/docs/user/getting_started.rst @@ -93,6 +93,12 @@ In case of errors read the messages carefully and try to fix the stated issues ``ar71xx-generic`` is the most common target and will generate images for most of the supported hardware. To see a complete list of supported targets, call ``make`` without setting ``GLUON_TARGET``. +To build all targets use a loop like this: + + for TARGET in $(make list-targets); do + make GLUON_TARGET=$TARGET + done + You should generally reserve 5GB of disk space and additionally about 10GB for each `GLUON_TARGET`. The built images can be found in the directory `output/images`. Of these, the `factory`