mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* using cc-option in arch/ppc64/boot/Makefile
@ 2004-10-14 16:11 Hollis Blanchard
  2004-10-17  9:57 ` Sam Ravnborg
  0 siblings, 1 reply; 5+ messages in thread
From: Hollis Blanchard @ 2004-10-14 16:11 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: linux-kernel

Hi Sam, I would like to use "cc-option-yn" in arch/ppc64/boot/Makefile.

All recent 64-bit gcc/binutils can produce 32-bit code by passing -m32 (or 
similar) to them. arch/ppc64/boot/zImage is actually a 32-bit executable, and 
the Makefile still requires a separate 32-bit cross-compiler to build it (in 
addition to the 64-bit cross-compiler used for the vmlinux). To decide if 
$(CC) can handle -m32, I'd like to use cc-option-yn (as in 
arch/ppc64/Makefile).

I've tried moving the cc-option stuff out of the top-level Makefile into 
something that can be included from arch/ppc64/boot/Makefile, but so far the 
right magic has escaped me. Any ideas?

-- 
Hollis Blanchard
IBM Linux Technology Center

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

end of thread, other threads:[~2004-10-18 21:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-14 16:11 using cc-option in arch/ppc64/boot/Makefile Hollis Blanchard
2004-10-17  9:57 ` Sam Ravnborg
2004-10-18 13:47   ` Hollis Blanchard
2004-10-18 21:01     ` Sam Ravnborg
2004-10-18 15:58       ` Hollis Blanchard

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

all inboxes | Powered by JetHome®