Re: K7/Athlon Optimization Causes Build Fail on Kernel 3.3 i686

From: Borislav Petkov
Date: Thu Mar 29 2012 - 03:48:18 EST


On Wed, Mar 28, 2012 at 07:27:59PM +0200, Borislav Petkov wrote:
> On Wed, Mar 28, 2012 at 10:13:31AM -0700, Randy Dunlap wrote:
> > > in your config. K7 and EFI are from different epochs anyway and cannot
> > > obviously be enabled both on the same system with the current Kconfig
> > > for EFI.
>
> > but the Kconfig files shouldn't allow such a failing .config to be
> > created, or the Makefiles are inadequate, or <mumble something>....
>
> Yeah, something like the following:
>
> config MK7
> bool "Athlon/Duron/K7"
> depends on X86_32 && !EFI_STUB
>
> or the other way around:
>
> config EFI_STUB
> bool "EFI stub support"
> depends on EFI && !MK7

Trevor,

can you apply the following patch and retest please? You shouldn't
be able to select EFI_STUB and K7 optimizations at the same time in
Kconfig.

Thanks.

--