docs: adjust to new target handling

This commit is contained in:
Matthias Schiffer 2015-03-14 19:20:11 +01:00
parent c20d0b4130
commit b44a02773e
2 changed files with 12 additions and 13 deletions

View File

@ -28,7 +28,7 @@ A fully automated nightly build could use the following commands:
(cd site && git pull) (cd site && git pull)
make update make update
make clean make clean
make -j5 GLUON_BRANCH=experimental make -j5 GLUON_TARGET=ar71xx-generic GLUON_BRANCH=experimental
make manifest GLUON_BRANCH=experimental make manifest GLUON_BRANCH=experimental
contrib/sign.sh $SECRETKEY images/sysupgrade/experimental.manifest contrib/sign.sh $SECRETKEY images/sysupgrade/experimental.manifest

View File

@ -63,16 +63,14 @@ directory and build Gluon:
:: ::
cd .. cd ..
make update # Get other repositories used by Gluon make update # Get other repositories used by Gluon
make # Build Gluon make GLUON_TARGET=ar71xx-generic # Build Gluon
When calling make, the OpenWRT build environment is prepared/updated. When calling make, the OpenWrt build environment is prepared/updated.
In case of errors read the messages carefully and try to fix the stated issues (e.g. install tools not available yet). In case of errors read the messages carefully and try to fix the stated issues (e.g. install tools not available yet).
To rebuild the images only, just use:
:: ``ar71xx-generic`` is the most common target and will generated images for most of the supported hardware.
To see a complete list of supported targets, call ``make`` without setting ``GLUON_TARGET``.
make images
The built images can be found in the directory `images`. Of these, the factory The built images can be found in the directory `images`. Of these, the factory
images are to be used when flashing from the original firmware a device came with, images are to be used when flashing from the original firmware a device came with,
@ -88,9 +86,9 @@ There are two levels of `make clean`:
:: ::
make clean make clean GLUON_TARGET=ar71xx-generic
will ensure all packages are rebuilt; this is what you normally want to do after an update. will ensure all packages are rebuilt for a single target; this is what you normally want to do after an update.
:: ::
@ -115,12 +113,13 @@ GLUON_BUILDDIR
Working directory during build. Defaults to ``build/``. Working directory during build. Defaults to ``build/``.
So all in all, to update and rebuild a Gluon build tree, the following commands should be used: So all in all, to update and rebuild a Gluon build tree, the following commands should be used (repeat the
``make clean`` and ``make`` for all targets you want to build):
:: ::
git pull git pull
(cd site && git pull) (cd site && git pull)
make update make update
make clean make clean GLUON_TARGET=ar71xx-generic
make make GLUON_TARGET=ar71xx-generic