Re: make ARCH=sparc allmodconfig change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 2, 2009 at 16:48, Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
> On Sun, Feb 01, 2009 at 09:51:13PM +0000, Mark Fortescue wrote:
>> Hi all.
>>
>> Silly question. If ARCH=sparc is not 64bit then how do you make a 32bit
>> sparc kernel?
>
> make arch=sparc menuconfig give you the option to select
> if the kernel is 64 bit or not.
>
> And this "64 bit?" option is what is causing us troubles for the
> all*config targets.
> allyesconfig and allmodconfig will both set this option to 'y'
> so we cannot in any simple way generate a 32bit all{yes,mod}config.

Why not have a sparc32 arch also, which would force 64bit to false. So:
1. If we detect a 32 bit sparc, we select sparc32.
2. If we detect a 64 bit sparc, we select sparc64.
3. Otherwise we select sparc and let the user decide.

I believe that powerpc also works in this manner, as does x86.

Thanks,

-- 
Julian Calaby

Email: julian.calaby@xxxxxxxxx
.Plan: http://sites.google.com/site/juliancalaby/
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux