X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/573cf7c518f0c00759048d94a2017a05b7725f30..40f29a7cd3dd8d5a541494e5f0f1a4e6bc102e01:/target/linux/adm5120-2.6/image/Makefile?ds=sidebyside diff --git a/target/linux/adm5120-2.6/image/Makefile b/target/linux/adm5120-2.6/image/Makefile index a8051db7f..9c7b9bd7b 100644 --- a/target/linux/adm5120-2.6/image/Makefile +++ b/target/linux/adm5120-2.6/image/Makefile @@ -46,7 +46,6 @@ define Image/Build/Compex endef define Image/Build/Edimax - # FIXME : not tested (hardware ?) $(STAGING_DIR)/bin/mkcsysimg -B $(4) -d -w \ -r $(KDIR)/loader-edimax.gz \ -x $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1)-noloader.trx \ @@ -63,6 +62,10 @@ define Image/Build/MyLoader $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(3)-$(2).bin endef +define Image/Build/RouterBoard + $(CP) $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinux +endef + define Image/Build $(STAGING_DIR)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1) $(STAGING_DIR)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1)-noloader.trx -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1) @@ -89,6 +92,9 @@ ifneq ($(1),jffs2-128K) $(call Image/Build/MyLoader,$(1),wpp54g,$(patsubst jffs2-%,jffs2,$(1)),WPP54G) $(call Image/Build/MyLoader,$(1),wpp54ag,$(patsubst jffs2-%,jffs2,$(1)),WPP54AG) endif +ifeq ($(1),tgz) + $(call Image/Build/RouterBoard) +endif endef $(eval $(call BuildImage))