Skip to content
Snippets Groups Projects
Commit b44a0277 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

docs: adjust to new target handling

parent c20d0b41
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ A fully automated nightly build could use the following commands: ...@@ -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
......
...@@ -63,16 +63,14 @@ directory and build Gluon: ...@@ -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`: ...@@ -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 ...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment