From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f172.google.com (mail-yk0-f172.google.com [209.85.160.172]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2AB07E008F3 for ; Mon, 24 Feb 2014 11:51:38 -0800 (PST) Received: by mail-yk0-f172.google.com with SMTP id 200so15799195ykr.3 for ; Mon, 24 Feb 2014 11:51:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=4xVRuuSHRP16is10jn2KxhyC1AN2KBTh0qFMQwgW6YY=; b=EvztZxMYruWqHUj8wOObvMRjoEh7lOLmLpoTXU5Gpny9j/nxNYD99WRxDDFfw71Xv5 DWNIddAgiyJpEl6DRBkItlNbjwNfLXMnMenSGv9hWBP5opHxJKAojv4xFZays9vAKN/8 UiNWl0BCS57ns7tBdLDqkct/RCW3cKbZa9whL97jtJlNASD0r/Vn6fDEkeoZOE5WS+1U 4qqCh8szrj8dz7l0a4Rk3l8DTysEE/dYPKtx2kPATM2vOFPTtNvhxJnODstJNN/37t+V hgi6IDYIfx6TFfdZSLkpuKGnFxGaxBgw5FeA0hDNtKr23nB3h7gPhdJSHAODcW3LFv+q Pw0w== X-Received: by 10.236.131.19 with SMTP id l19mr1100502yhi.0.1393271497600; Mon, 24 Feb 2014 11:51:37 -0800 (PST) Received: from goober-2.local ([75.76.20.151]) by mx.google.com with ESMTPSA id z24sm606975yhk.21.2014.02.24.11.51.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Feb 2014 11:51:31 -0800 (PST) Message-ID: <530BA2BE.7060502@gmail.com> Date: Mon, 24 Feb 2014 13:51:26 -0600 From: John Weber User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" Subject: Linux kernel recipe override question X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 19:51:39 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Here is a question someone might be able to quickly answer. I want to be able to override the SRCREV, SRCBRANCH, and the git repository for the kernel recipe in local.conf. I like to do this so that I can do local hacking on a kernel without having to edit the recipe files themselves, and I find that managing local.conf is easier when I'm changing SRCREVs a lot. I've been able to override SRCBRANCH by doing this: In recipes-kernel/linux/linux-wandboard.inc: SRCBRANCH ??= "master" The default is set in recipes-kernel/linux/linux-wandboard_3.10.17.bb: SRCBRANCH ?= "" Then, in local.conf, I can override it: SRCBRANCH_linux-wandboard = "" This works fine for SRCBRANCH. If I do the same thing with SRCREV, it doesn't seem to work. I've done this: In linux-wandboard_3.10.17.bb: SRCREV ??= "" In local.conf: SRCREV_linux-wandboard = "" I always get the checkout of the SRCREV assignment done in the recipe file, not the one I set in local.conf. Any idea why? The only thing I can think of is that SRCREV is evaluated completely before local.conf settings are evaluated. John