Changeset 13616


Ignore:
Timestamp:
2008-12-12T16:16:57+01:00 (9 years ago)
Author:
florian
Message:

Build images for Inventel Livebox

File:
1 edited

Legend:

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

    r13588 r13616  
    3838endef 
    3939 
     40define Image/Build/RedBoot 
     41        cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(1)-vmlinux.elf 
     42        gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz 
     43        $(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux $(KDIR)/vmlinux.bin.l7 
     44        dd if=$(KDIR)/vmlinux.bin.l7 of=$(BIN_DIR)/openwrt-$(1)-vmlinux.lzma bs=65536 conv=sync 
     45        dd if=$(KDIR)/vmlinux.bin.gz of=$(BIN_DIR)/openwrt-$(1)-vmlinux.gz bs=65536 conv=sync 
     46endef 
     47 
    4048define Build/Clean 
    4149        $(MAKE) -C lzma-loader clean 
     
    6876        touch $(KDIR)/fs_mark 
    6977        $(call prepare_generic_squashfs,$(KDIR)/fs_mark) 
    70  
    7178endef 
    7279 
    7380define Image/Build 
    7481        $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1) 
     82        dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/openwrt-$(BOARD)-root.$(1) bs=128k conv=sync 
    7583        $(call Image/Build/CFE,$(1),96345GW2,6345) 
    7684        $(call Image/Build/CFE,$(1),96348GW,6348) 
     
    8391        # Sagem F@ST2404 
    8492        $(call Image/Build/CFE,$(1),F@ST2404,6348) 
     93        # Inventel Livebox 
     94        $(call Image/Build/RedBoot,livebox) 
    8595endef 
    8696 
Note: See TracChangeset for help on using the changeset viewer.