make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)

SVN-Revision: 15253
This commit is contained in:
Florian Fainelli
2009-04-19 13:18:48 +00:00
parent 08ae0cd8d2
commit 1f334e3caa
3 changed files with 110 additions and 40 deletions

View File

@@ -34,7 +34,6 @@ define Image/Build/CFE
-b $(2) -c $(3) -e $(LOADADDR) -l $(LOADADDR)
# -b $(2) -c $(3) -e $(KERNEL_ENTRY) -l $(LOADADDR)
$(call prepare_generic_squashfs,$(BIN_DIR)/openwrt-$(2)-$(1)-cfe.bin)
endef
define Image/Build/CFEAGPF
@@ -42,8 +41,7 @@ define Image/Build/CFEAGPF
$(STAGING_DIR_HOST)/bin/imagetag -i $(KDIR)/vmlinux.lzma.cfe -f $(KDIR)/root.$(1) \
-o $(BIN_DIR)/openwrt-$(2)-$(1)-cfe.bin \
-b $(2) -c $(3) -e $(LOADADDR) -l $(LOADADDR) \
-v 8 -m IMAGE -k 0x20000 -n $(4)
$(call prepare_generic_squashfs,$(BIN_DIR)/openwrt-$(2)-$(1)-cfe.bin)
-v 8 -m IMAGE -k 0x20000 -n $(4) -p alice
endef
define Image/Build/RedBoot