lkml.org 
[lkml]   [2009]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kconfig CROSS_COMPILE option
On Mon 2009-09-07 11:38:01, Roland McGrath wrote:
> > Yes that would be very nice. Editing Makefile every time I
> > crosscomppile for arm sucks.
>
> The other trick I can recommend is to write a GNUmakefile containing:
>
> ARCH=foo
> CROSS_COMPILE=foo-linux-
> include Makefile

Hehe, thanks.

> (GNU make reads GNUmakefile in preference to Makefile.)
> But this manual hackery is still not nearly as nice as the automagic way.
>
> > But... do we need an option for subarch, too? And will Kconfig system
> > handle that?
>
> I'm not sure I follow exactly what your concern is. I am mostly familiar
> with doing x86 and powerpc builds. For both of those, the kernel config
> sets whether it's the 32-bit or 64-bit world.

Well, my concern is that your patch allows me to set $CROSS_COMPILE,
but I need to set $ARCH too, to get useful result. So I can't actually
see how to use your patch.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2009-09-09 10:11    [W:1.145 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site