Changeset 36949


Ignore:
Timestamp:
2013-06-17T21:32:56+02:00 (5 years ago)
Author:
florian
Message:

brcm63xx: simplify HCS image creation

$(KDIR)/vmlinux is already a binary image, there is no need to create
another one.

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

File:
1 edited

Legend:

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

    r36876 r36949  
    1 #  
     1# 
    22# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
     
    1111KERNEL_ENTRY = $(LOADADDR)      # Newer kernels add a jmp to the kernel_entry at the start of the binary 
    1212RAMSIZE = 0x01000000            # 64MB 
    13  
    14 DROP_SECTIONS := .reginfo .mdebug .comment .note .pdr .options .MIPS.options 
    15 OBJCOPY_BIN := $(TARGET_CROSS)objcopy -S -O binary $(addprefix --remove-section=,$(DROP_SECTIONS)) 
    1613 
    1714LOADER_MAKEOPTS= \ 
     
    134131 
    135132define Image/Prepare 
    136         # Binary kernel 
    137         $(OBJCOPY_BIN) $(LINUX_DIR)/vmlinux $(KDIR)/vmlinux.bin 
    138133        # Standard LZMA kernel 
    139134        cat $(KDIR)/vmlinux | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma 
     
    293288 
    294289        # Netgear CVG834G 
    295         $(call Image/Build/HCS,$(1),cvg834g,a020,0001,0022,$(KDIR)/vmlinux.bin) 
     290        $(call Image/Build/HCS,$(1),cvg834g,a020,0001,0022,$(KDIR)/vmlinux) 
    296291  endif 
    297292endef 
Note: See TracChangeset for help on using the changeset viewer.