diff options
author | Katze Miau <miaukatzemiau@priveasy.de> | 2011-12-08 14:02:50 (GMT) |
---|---|---|
committer | Katze Miau <miaukatzemiau@priveasy.de> | 2011-12-08 14:02:50 (GMT) |
commit | b49f8093246a1ad8b4f1998f48690cfc20d09e52 (patch) | |
tree | c1299683e2f570ce83ee654575fabcd916be80c7 /Makefile | |
parent | a4fa439241252bb25559952aeffbffd7f6d9721f (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-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)/ $@/ |