[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090907183801.379228BF3F@magilla.sf.frob.com>
Date: Mon, 7 Sep 2009 11:38:01 -0700 (PDT)
From: Roland McGrath <roland@...hat.com>
To: Pavel Machek <pavel@....cz>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Sam Ravnborg <sam@...nborg.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kconfig CROSS_COMPILE option
> 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
(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.
Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists