Changeset 34149


Ignore:
Timestamp:
2012-11-11T17:11:39+01:00 (5 years ago)
Author:
florian
Message:

[ar7] generate image for AC49x

Signed-off-by: Daniel Golle <dgolle@…>
Signed-off-by: Florian Fainelli <florian@…>

File:
1 edited

Legend:

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

    r33754 r34149  
    6868endef 
    6969 
     70define Image/Build/AudioCodes 
     71        ( dd if=$(KDIR)/vmlinux.elf bs=64k conv=sync ; dd if=$(KDIR)/root.$(1) ) > $(BIN_DIR)/openwrt-$(2)-$(1).bin 
     72endef 
    7073 
    7174#define Image/Build/sErCoMm 
     
    8790endef 
    8891 
     92ifeq ($(CONFIG_AR7_TI),y) 
    8993define Image/Build 
    9094        dd if=$(KDIR)/loader.bin $(call align/$(1)) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin 
     
    114118endif 
    115119endef 
     120endif 
     121 
     122ifeq ($(CONFIG_AR7_AC49X),y) 
     123define Image/Build 
     124#       $(call prepare_generic_squashfs,$(BIN_DIR)/$(IMG_PREFIX)-$(1).bin) 
     125        $(call Image/Build/AudioCodes,$(1),mp202,$(1)) 
     126ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) 
     127        $(call Image/Build/Initramfs) 
     128endif 
     129endef 
     130endif 
    116131 
    117132$(eval $(call BuildImage)) 
Note: See TracChangeset for help on using the changeset viewer.