summaryrefslogtreecommitdiff
path: root/target/linux/ar7
diff options
context:
space:
mode:
authorEugene Konev <ejka@imfi.kspu.ru>2007-10-22 14:20:02 +0000
committerEugene Konev <ejka@imfi.kspu.ru>2007-10-22 14:20:02 +0000
commit6bf1f9a467551a2d85b5708ab2d0749d2a027673 (patch)
tree47210eed5870d564b9155900357c53d4ea7c4a22 /target/linux/ar7
parent461e17e015d42fc67d9ff0a8e19fb7b315262a90 (diff)
downloadmtk-20170518-6bf1f9a467551a2d85b5708ab2d0749d2a027673.zip
mtk-20170518-6bf1f9a467551a2d85b5708ab2d0749d2a027673.tar.gz
mtk-20170518-6bf1f9a467551a2d85b5708ab2d0749d2a027673.tar.bz2
ar7: add eva image generation (thanks Axel Gembe)
SVN-Revision: 9401
Diffstat (limited to 'target/linux/ar7')
-rw-r--r--target/linux/ar7/image/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar7/image/Makefile b/target/linux/ar7/image/Makefile
index b80af35..702c7aa 100644
--- a/target/linux/ar7/image/Makefile
+++ b/target/linux/ar7/image/Makefile
@@ -64,6 +64,12 @@ endef
# rm -f "$(KDIR)/dgfw.tmp"
#endef
+define Image/Build/EVA
+ $(STAGING_DIR_HOST)/bin/lzma2eva $(KERNEL_ENTRY) $(KERNEL_ENTRY) $(BIN_DIR)/openwrt-$(2)-$(KERNEL)-$(1).bin
+ cat $(KDIR)/root.$(1) >> $(BIN_DIR)/openwrt-$(2)-$(KERNEL)-$(1).bin
+ $(call prepare_generic_squashfs,$(BIN_DIR)/openwrt-$(2)-$(KERNEL)-$(1).bin)
+endef
+
define Image/Build
dd if=$(KDIR)/loader.bin $(call align/$(1)) > $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).bin
cat $(KDIR)/root.$(1) >> $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).bin
@@ -78,6 +84,7 @@ define Image/Build
$(call Image/Build/CyberTAN,$(1),WA7B,WA7B -b,$(1))
# $(call Image/Build/sErCoMm,$(1),dg834,$(1))
# $(call Image/Build/sErCoMm,$(1),jdr454wb,$(1))
+ $(call Image/Build/EVA,$(1),EVA)
endef
$(eval $(call BuildImage))