From 70e7c7d20675a854d83b3782d434f2819f840eb9 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 13 Feb 2013 02:36:39 +0100 Subject: [PATCH] Reprepare OpenWRT by default on make --- Makefile | 4 +++- README.md | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5545f51f..380017ee 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,9 @@ GLUONDIR:=${CURDIR} LN_S:=ln -sf -all: images +all: + $(MAKE) prepare + $(MAKE) images include $(GLUONDIR)/builder/gluon.mk diff --git a/README.md b/README.md index 36e1b687..09d17729 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ To build Gluon, use the following commands after checking out the repository: git clone git://github.com/freifunk-gluon/site-ffhl.git site # Get the Freifunk Lübeck site repository - or use your own! make # Build Gluon -When building Gluon for the first time, the OpenWRT build environment is prepared. To update the OpenWRT -environment, e. g. to compile added or changed packages, just use: +When calling make, the OpenWRT build environment is prepared/updated. To rebuilt +the images only, just use: - make prepare + make images The built images can be found in the directory /images.