Re: ARM defconfig files

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

 



Daniel Walker <dwalker@xxxxxxxxxxxxxx> wrote:
> Have you noticed this ..
>
> http://ktrap.org/mailarchive/linux-kernel/2010/5/17/4571130
>
> I'm not sure of the goals, but it sounds like it might be relevant.

In some cases you don't want to automatically enable features but rather
fix the Kconfig file. For example, with the select dependencies patch
(http://lkml.org/lkml/2009/9/16/413) on ARMv7 RealView I get the
following:

warning: (CPU_V7 && !ARCH_OMAP2 || CPU_MMP2 && ARCH_MMP) selects
CPU_32v6K which has unmet direct dependencies (CPU_V6)

Unless I misunderstand this, a solver may try to select CPU_V6 which I
don't want to. The solution is to fix Kconfig as below:


Author: Catalin Marinas <catalin.marinas@xxxxxxx>
Date:   Wed Aug 12 13:50:05 2009 +0100

    Mark CPU_32v6K as depended on CPU_V7
    
    Signed-off-by: Catalin Marinas <catalin.marinas@xxxxxxx>

diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index 9f10a9b..a4909db 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -398,7 +398,7 @@ config CPU_V6
 # ARMv6k
 config CPU_32v6K
 	bool "Support ARM V6K processor extensions" if !SMP
-	depends on CPU_V6
+	depends on CPU_V6 || CPU_V7
 	default y if SMP && !(ARCH_MX3 || ARCH_OMAP2)
 	help
 	  Say Y here if your ARMv6 processor supports the 'K' extension.


-- 
Catalin
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux