Re: [PATCH] kconfig CROSS_COMPILE option

From: Roland McGrath
Date: Mon Sep 07 2009 - 14:38:30 EST

> 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:

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at