lkml.org 
[lkml]   [2004]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] Fix ppc64 cross-compilation
After the "ppc64 monster cleanup," I get

powerpc-750-linux-gnu-strip: vmlinux: File format not recognized

from my ppc32 strip command when cross-compiling a ppc64 kernel, since
vmlinux is a 64-bit ELF file. This patch fixes my build (and the
resulting kernel boots fine).

Thanks,
Roland

Signed-off-by: Roland Dreier <roland@topspin.com>

Index: linux-bk/arch/ppc64/boot/Makefile
===================================================================
--- linux-bk.orig/arch/ppc64/boot/Makefile 2004-09-28 11:22:48.000000000 -0700
+++ linux-bk/arch/ppc64/boot/Makefile 2004-09-28 11:23:07.000000000 -0700
@@ -31,7 +31,7 @@
BOOTLD := $(CROSS32_COMPILE)ld
BOOTLFLAGS := -Ttext 0x00400000 -e _start -T $(srctree)/$(src)/zImage.lds
BOOTOBJCOPY := $(CROSS32_COMPILE)objcopy
-BOOTSTRIP := $(CROSS32_COMPILE)strip
+BOOTSTRIP := $(CROSS_COMPILE)strip
OBJCOPYFLAGS := contents,alloc,load,readonly,data

src-boot := crt0.S string.S prom.c main.c zlib.c imagesize.c div64.S
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.031 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site