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: [EMAIL PROTECTED], 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to