lkml.org 
[lkml]   [2000]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] 2.4.0-test9-pre6: Alpha cross-compilation fixes
Hi,

The following patch allows an Alpha kernel to be built with a
cross-compiling toolchain as $(NM) and $(STRIP) do incorporate the
$(CROSS_COMPILE) prefix.

Maciej

--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +

diff -u --recursive --new-file linux-2.4.0-test9-pre6.macro/arch/alpha/Makefile linux-2.4.0-test9-pre6/arch/alpha/Makefile
--- linux-2.4.0-test9-pre6.macro/arch/alpha/Makefile Mon Sep 25 17:01:52 2000
+++ linux-2.4.0-test9-pre6/arch/alpha/Makefile Mon Sep 25 17:07:49 2000
@@ -8,7 +8,7 @@
# Copyright (C) 1994 by Linus Torvalds
#

-NM := nm -B
+NM := $(NM) -B

LINKFLAGS = -static -T arch/alpha/vmlinux.lds -N #-relax
CFLAGS := $(CFLAGS) -pipe -mno-fp-regs -ffixed-8
diff -u --recursive --new-file linux-2.4.0-test9-pre6.macro/arch/alpha/boot/Makefile linux-2.4.0-test9-pre6/arch/alpha/boot/Makefile
--- linux-2.4.0-test9-pre6.macro/arch/alpha/boot/Makefile Wed Jul 19 05:58:27 2000
+++ linux-2.4.0-test9-pre6/arch/alpha/boot/Makefile Mon Sep 25 17:07:14 2000
@@ -68,7 +68,7 @@
$(OBJSTRIP) -v $(VMLINUX) vmlinux.nh

vmlinux: $(TOPDIR)/vmlinux
- strip -o vmlinux $(VMLINUX)
+ $(STRIP) -o vmlinux $(VMLINUX)

tools/lxboot: $(OBJSTRIP) bootloader
$(OBJSTRIP) -p bootloader tools/lxboot
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.185 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site