From 7310c9e6627c63cbcebb76f37d4c675f165124bf Mon Sep 17 00:00:00 2001 From: Matthias Schiffer <mschiffer@universe-factory.net> Date: Sat, 10 May 2014 15:26:38 +0200 Subject: [PATCH] README: some info about updating and rebuilding Gluon --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 407a13e3a..c60b01ec6 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ the images only, just use: The built images can be found in the directory `images`. -For the build reserve 6GB of disk space. The building requires packages +For the build reserve 6GB of disk space. The build requires packages for `subversion`, ncurses headers (`libncurses-dev`) and zlib headers (`libz-dev`).` @@ -29,7 +29,16 @@ will also call `make clean` on the OpenWRT tree, and make dirclean -will do all this, and call `make dirclean` on the OpenWRT tree. +will do all this, and call `make dirclean` on the OpenWRT tree. Of these, `make cleanall` +is the most useful as it ensures that the kernel and all packages are rebuilt (which won't +be done when only patches have changed), but doesn't rebuild the toolchain unnecessarily. + +So all in all, to update and rebuild a Gluon build tree, the following commands should be used: + + git pull + make update + make cleanall + make # Development -- GitLab