Changeset 9401


Ignore:
Timestamp:
2007-10-22T16:20:02+02:00 (10 years ago)
Author:
ejka
Message:

ar7: add eva image generation (thanks Axel Gembe)

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar7/image/Makefile

    r8656 r9401  
    6565#endef 
    6666 
     67define Image/Build/EVA 
     68        $(STAGING_DIR_HOST)/bin/lzma2eva $(KERNEL_ENTRY) $(KERNEL_ENTRY) $(BIN_DIR)/openwrt-$(2)-$(KERNEL)-$(1).bin 
     69        cat $(KDIR)/root.$(1) >> $(BIN_DIR)/openwrt-$(2)-$(KERNEL)-$(1).bin 
     70        $(call prepare_generic_squashfs,$(BIN_DIR)/openwrt-$(2)-$(KERNEL)-$(1).bin) 
     71endef 
     72 
    6773define Image/Build 
    6874        dd if=$(KDIR)/loader.bin $(call align/$(1)) > $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).bin 
     
    7985#       $(call Image/Build/sErCoMm,$(1),dg834,$(1)) 
    8086#       $(call Image/Build/sErCoMm,$(1),jdr454wb,$(1)) 
     87        $(call Image/Build/EVA,$(1),EVA) 
    8188endef 
    8289 
  • trunk/tools/firmware-utils/Makefile

    r8362 r9401  
    1212 
    1313define cc 
    14         $(CC) $(HOST_CFLAGS) -include endian.h -o $(PKG_BUILD_DIR)/bin/$(1) src/$(1).c 
     14        $(CC) $(HOST_CFLAGS) -include endian.h -o $(PKG_BUILD_DIR)/bin/$(1) src/$(1).c $(2) 
    1515endef 
    1616 
     
    2828        $(call cc,mkcsysimg) 
    2929        $(call cc,mkzynfw) 
     30        $(call cc,lzma2eva,-lz) 
    3031endef 
    3132 
Note: See TracChangeset for help on using the changeset viewer.