README: Update with regard to clean/cleanall

This commit is contained in:
Matthias Schiffer 2014-05-17 14:49:44 +02:00
parent 0ab1b2700a
commit 7857eaad4a

View File

@ -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:
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