public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cross-sparse
@ 2004-06-17 21:13 Geert Uytterhoeven
  2004-06-18 16:27 ` Linus Torvalds
  0 siblings, 1 reply; 9+ messages in thread
From: Geert Uytterhoeven @ 2004-06-17 21:13 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux/m68k, Linux Kernel Development

	Hi Linus,

I wanted to give sparse a try on m68k, and noticed the current infrastructure
doesn't handle cross-compilation (no sane m68k people compile kernels natively
anymore, unless they run a Debian autobuilder ;-).

After hacking the include paths in the sparse sources, installing the resulting
binary as m68k-linux-sparse, and applying the following patch, it seems to work
fine!

OK to apply?

--- linux-2.6.7/Makefile	2004-06-16 13:06:15.000000000 +0200
+++ linux-m68k-2.6.7/Makefile	2004-06-17 22:07:27.000000000 +0200
@@ -296,7 +296,7 @@ GENKSYMS	= scripts/genksyms/genksyms
 DEPMOD		= /sbin/depmod
 KALLSYMS	= scripts/kallsyms
 PERL		= perl
-CHECK		= sparse
+CHECK		= $(CROSS_COMPILE)sparse
 MODFLAGS	= -DMODULE
 CFLAGS_MODULE   = $(MODFLAGS)
 AFLAGS_MODULE   = $(MODFLAGS)

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-06-19  0:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-17 21:13 [PATCH] cross-sparse Geert Uytterhoeven
2004-06-18 16:27 ` Linus Torvalds
2004-06-18 20:49   ` Geert Uytterhoeven
2004-06-18 20:58     ` Linus Torvalds
2004-06-19  0:33     ` viro
2004-06-18 21:33   ` Herbert Poetzl
2004-06-18 21:48     ` Randy.Dunlap
2004-06-18 21:57     ` Chris Wedgwood
2004-06-18 23:30     ` Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox