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@openwrt.org>

SVN-Revision: 36949
owl
Florian Fainelli 2013-06-17 19:32:56 +00:00
parent 78a66975d6
commit 0ce75bc440
1 changed files with 2 additions and 7 deletions

View File

@ -11,9 +11,6 @@ LOADADDR = 0x80010000 # RAM start + 16M
KERNEL_ENTRY = $(LOADADDR) # Newer kernels add a jmp to the kernel_entry at the start of the binary KERNEL_ENTRY = $(LOADADDR) # Newer kernels add a jmp to the kernel_entry at the start of the binary
RAMSIZE = 0x01000000 # 64MB RAMSIZE = 0x01000000 # 64MB
DROP_SECTIONS := .reginfo .mdebug .comment .note .pdr .options .MIPS.options
OBJCOPY_BIN := $(TARGET_CROSS)objcopy -S -O binary $(addprefix --remove-section=,$(DROP_SECTIONS))
LOADER_MAKEOPTS= \ LOADER_MAKEOPTS= \
KDIR=$(KDIR) \ KDIR=$(KDIR) \
LOADADDR=$(LOADADDR) \ LOADADDR=$(LOADADDR) \
@ -133,8 +130,6 @@ define Build/Clean
endef endef
define Image/Prepare define Image/Prepare
# Binary kernel
$(OBJCOPY_BIN) $(LINUX_DIR)/vmlinux $(KDIR)/vmlinux.bin
# Standard LZMA kernel # Standard LZMA kernel
cat $(KDIR)/vmlinux | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma cat $(KDIR)/vmlinux | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
@ -292,7 +287,7 @@ define Image/Build
$(call Image/Build/SPW303V,$(1),96358-502V,6358,SPW303V) $(call Image/Build/SPW303V,$(1),96358-502V,6358,SPW303V)
# Netgear CVG834G # Netgear CVG834G
$(call Image/Build/HCS,$(1),cvg834g,a020,0001,0022,$(KDIR)/vmlinux.bin) $(call Image/Build/HCS,$(1),cvg834g,a020,0001,0022,$(KDIR)/vmlinux)
endif endif
endef endef