[PATCH] ppc64: Build zImage.vmode for G5
Geoff Levand
geoffrey.levand at am.sony.com
Fri Sep 23 09:51:31 EST 2005
Benjamin Herrenschmidt wrote:
> On Thu, 2005-09-22 at 14:02 -0700, Geoff Levand wrote:
>
>
>>This is really just a half fix, since if you have say both CONFIG_PPC_PSERIES
>>and CONFIG_PPC_PMAC, 'make install' will always install zImage.vmode, even for
>>pSeries machines.
>>
>>I thought we could have a default platform in Kconfig as below, but it looks
>>messy. Any ideas how we can fix this? Remember we need to handle cross
>>building on different machines/archs.
>
>
> Hrm... I don't like that much... I wonder what it would take to put some
> intelligence in the makefile to detect the machine you are running on
> and do the proper install..
>
Host detection won't work in general. It won't handle cross building on say
a PC with INSTALL_MOD_PATH and INSTALL_PATH set. 'make install' should work
as expected in this case. That's what I meant by handle cross building.
-Geoff
More information about the Linuxppc64-dev
mailing list