summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKatze Miau <miaukatzemiau@priveasy.de>2011-12-08 14:02:50 (GMT)
committerKatze Miau <miaukatzemiau@priveasy.de>2011-12-08 14:02:50 (GMT)
commitb49f8093246a1ad8b4f1998f48690cfc20d09e52 (patch)
treec1299683e2f570ce83ee654575fabcd916be80c7 /Makefile
parenta4fa439241252bb25559952aeffbffd7f6d9721f (diff)
generate files/etc/{banner, firmware} from repository state
The new script ./name_firmware is used to generates two files in openwrt/$REPO/files/ during `make image/...`: - /etc/firmware (see documentation on firmware id) - /etc/banner (login banner; generated from the template in /files/common/etc/banner)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c4c09b6..b65ac75 100644
--- a/Makefile
+++ b/Makefile
@@ -64,6 +64,7 @@ image/%: config/$$(REPO)-$$(PLATFORM)-$$(MODEL).config \
cp -a files/common openwrt/$(REPO)/files
[ -d files/$(PLATFORM) ] && rsync -a files/$(PLATFORM)/ openwrt/$(REPO)/files/
[ -d files/$(PLATFORM)-$(MODEL) ] && rsync -a files/$(PLATFORM)-$(MODEL)/ openwrt/$(REPO)/files/
+ ./name_firmware openwrt/$(REPO)
cd openwrt/$(REPO) && $(MAKE) -j$(NUMPROC)
mkdir -p $@
rsync -a openwrt/$(REPO)/bin/$(PLATFORM)/ $@/
contact: Jan Huwald // Impressum