Преглед на файлове

Reprepare OpenWRT by default on make

Matthias Schiffer преди 11 години
родител
ревизия
70e7c7d206
променени са 2 файла, в които са добавени 6 реда и са изтрити 4 реда
  1. 3 1
      Makefile
  2. 3 3
      README.md

+ 3 - 1
Makefile

@@ -2,7 +2,9 @@ GLUONDIR:=${CURDIR}
 
 LN_S:=ln -sf
 
-all: images
+all:
+	$(MAKE) prepare
+	$(MAKE) images
 
 include $(GLUONDIR)/builder/gluon.mk
 

+ 3 - 3
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.