Re: [PATCH] MIPS: Enable vmlinuz for JZ4740

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 29-03-2012 20:09, Maarten ter Huurne wrote:

From: Lluís Batlle i Rossell<viric@xxxxxxxxxx>

This patch adds support for building a compressed kernel for the JZ4740

Signed-off-by: Lars-Peter Clausen<lars@xxxxxxxxxx>
Signed-off-by: Maarten ter Huurne<maarten@xxxxxxxxxxxxxx>

diff --git a/arch/mips/boot/compressed/Makefile b/arch/mips/boot/compressed/Makefile
index 5042d51..71d89cb 100644
--- a/arch/mips/boot/compressed/Makefile
+++ b/arch/mips/boot/compressed/Makefile
@@ -58,8 +58,12 @@ $(obj)/piggy.o: $(obj)/dummy.o $(obj)/vmlinux.bin.z FORCE
  # Calculate the load address of the compressed kernel image
  hostprogs-y := calc_vmlinuz_load_addr

+ifeq ($(CONFIG_MACH_JZ4740),y)

   Spaces around :=, please. And why this should be out of order case?

  VMLINUZ_LOAD_ADDRESS = $(shell $(obj)/calc_vmlinuz_load_addr \
  		$(obj)/vmlinux.bin $(VMLINUX_LOAD_ADDRESS))

  vmlinuzobjs-y += $(obj)/piggy.o

WBR, Sergei

[Linux MIPS Home]     [LKML Archive]     [Linux ARM]     [Linux]     [Git]     [Photo]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

Add to Google Powered by Linux