From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1FB26E00758; Sat, 18 Jul 2015 20:53:53 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.146.13 listed in list.dnswl.org] Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A3239E004E5 for ; Sat, 18 Jul 2015 20:53:48 -0700 (PDT) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail1.windriver.com (8.15.1/8.15.1) with ESMTPS id t6J3rjQ2010139 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Sat, 18 Jul 2015 20:53:46 -0700 (PDT) Received: from server.local (128.224.21.172) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.235.1; Sat, 18 Jul 2015 20:53:45 -0700 To: Ryan Soussan , References: From: Bruce Ashfield Message-ID: <55AB1F48.2050404@windriver.com> Date: Sat, 18 Jul 2015 23:53:44 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: Problem overwriting default kernel config values X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2015 03:53:53 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit On 2015-07-17 9:35 PM, Ryan Soussan wrote: > Hello, > We're having a problem overwriting the default linux kernel config > values. We tried adding our own .cfg file to our layer and appending it > to the source url of the linux-yocto bitbake file. The variable in our > case is not getting overwritten though (changing CONFIG_ATH5K=m to =y). > Here's some relevant output from mismatch.txt: > Value requested for CONFIG_ATH5K not in final .config > Requested value: CONFIG_ATH5K=y > Actual value: CONFIG_ATH5K=m > > And basically the same error message in missing_required.cfg. So it > looks like yocto is seeing our request but ignoring it. The source code > for these messages is located here: > http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/tree/tools/kconf_check > > We were following the instructions for editing the config file located > in the linux directory of the meta-skeleton layer in poky. Any help > would be appreciated! > What release/branch are you using ? This is a test case that I run ever release (and use every day), so the overrides do work. The kernel configuration system doesn't have the opportunity to ignore settings. They are consolidated and then passed to the kernel's config subsystem and then the results audited. I'll run a similar test here, since if something else later in the configuration is selecting that driver as a module, or another constraint is kicking in .. you will end up with a module, no matter what you set in your fragment. Bruce > Thanks, > Ryan > >