Changeset 4108


Ignore:
Timestamp:
2006-07-02T17:11:55+02:00 (12 years ago)
Author:
florian
Message:

Disable the use of lzma since the alchemy images are zlib compressed and there is a lot of space. Fix makefile error when "touching" zImage.flash.srec

Location:
branches/buildroot-ng/openwrt/target
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/buildroot-ng/openwrt/target/image/au1000/Makefile

    r4091 r4108  
    88include $(INCLUDE_DIR)/image.mk 
    99 
    10 LOADADDR = 0x8108c8f4           # RAM start + 16M  
    11 KERNEL_ENTRY = 0x80100000       # Default kernel entry in arch/mips/Makefile 
    12 RAMSIZE = 0x04000000            # 64MB 
    13  
    14 LOADER_MAKEOPTS= \ 
    15                 KDIR=$(KDIR) \ 
    16                 LOADADDR=$(LOADADDR) \ 
    17                 KERNEL_ENTRY=$(KERNEL_ENTRY) \ 
    18                 RAMSIZE=$(RAMSIZE) 
    19  
    2010define Build/Clean 
    21         $(MAKE) -C ../generic/lzma-loader $(LOADER_MAKEOPTS) clean 
    2211endef 
    2312 
    2413define Image/Prepare 
    25         cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma 
    26         $(MAKE) -C ../generic/lzma-loader $(LOADER_MAKEOPTS) compile 
    2714endef 
    2815 
    2916define Image/Build 
    30         $(TARGET_CROSS)objcopy -O srec -I binary --adjust-vma 0xbe000000 $(KDIR)/root.$(1) $(KDIR)/root.srec 
    31         grep -v S7 $(KDIR)/root.srec > $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img 
     17        $(TARGET_CROSS)objcopy -O srec -I binary --adjust-vma 0xbe000000 $(KDIR)/root.$(1) $(KDIR)/root.$(1).srec 
     18        grep -v S7 $(KDIR)/root.$(1).srec > $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img 
    3219        grep -v S0 $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.flash.srec >> $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img 
    3320endef 
  • branches/buildroot-ng/openwrt/target/linux/au1000-2.6/Makefile

    r4091 r4108  
    2424        $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.flash.srec $(LINUX_DIR)/zImage.flash.srec 
    2525        $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.srec $(LINUX_DIR)/zImage.srec 
    26         touch $@ 
    2726 
    2827compile: $(LINUX_BUILD_DIR)/zImage.flash.srec 
Note: See TracChangeset for help on using the changeset viewer.