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

README: Update with regard to clean/cleanall

parent 0ab1b270
No related branches found
No related tags found
No related merge requests found
...@@ -17,28 +17,24 @@ for `subversion`, ncurses headers (`libncurses-dev`) and zlib headers ...@@ -17,28 +17,24 @@ for `subversion`, ncurses headers (`libncurses-dev`) and zlib headers
(`libz-dev`).` (`libz-dev`).`
There are three levels of `make clean`: There are two levels of `make clean`:
make clean make clean
will only clean the Gluon-specific files; will ensure all packages are rebuilt; this is what you normally want to do after an update.
make cleanall
will also call `make clean` on the OpenWRT tree, and
make dirclean make dirclean
will do all this, and call `make dirclean` on the OpenWRT tree. Of these, `make cleanall` will clean the entire tree, so the toolchain will be rebuilt as well, which is
is the most useful as it ensures that the kernel and all packages are rebuilt (which won't not necessary in most cases, and will take a while. (`make cleanall` is a deprecated
be done when only patches have changed), but doesn't rebuild the toolchain unnecessarily. alias for `make clean`)
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:
git pull git pull
(cd site && git pull) (cd site && git pull)
make update make update
make cleanall make clean
make make
...@@ -58,7 +54,7 @@ A fully automated nightly build could use the following commands: ...@@ -58,7 +54,7 @@ A fully automated nightly build could use the following commands:
git pull git pull
(cd site && git pull) (cd site && git pull)
make update make update
make cleanall make clean
make -j5 GLUON_BRANCH=experimental make -j5 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
......
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