From patchwork Tue Jan 15 13:02:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 155659 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4862129jaa; Tue, 15 Jan 2019 05:02:17 -0800 (PST) X-Google-Smtp-Source: ALg8bN5aw/5kCACFtN4n5zn/glSvAX+3DutkT9I932KQdHkN9Ub09Pw6EfCYaPCk44MuDg4/Xemr X-Received: by 2002:a62:8d4f:: with SMTP id z76mr4055181pfd.2.1547557337136; Tue, 15 Jan 2019 05:02:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547557337; cv=none; d=google.com; s=arc-20160816; b=bMc002WuzRjXgVWa+EQrAyRE3jTqrIaG4f90edGMEuA6Rz5RdL7XBgDl72sO9VbNdr +gZ56X4TvHZCmyDxFoSbZoZsBWEoyVUJSLgazZD61otEcyrgsyHuPWRzTWCZfkioeAHd VykOGL9OidxAz7+InwwKHp/cW83zxPq2I1JYlX1h2LCf6BvuT31xcxkI4glAxppUGJxN 29+3eNZ+nekrTUWKDOVgzmS6NVAZBQ1MPwuP2UfP6g/VSdm/62tPk0XbHQWk1juWJdNM H6yvKh/ZX8Hy4iB5IAPIUSrLSgNgPkIcg5Zotn7qL6fQg1fkLSIONAbpEgcZHcW6RAqh RWJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:delivered-to; bh=sgkmO9HwaHFT/VbYnOv9VPVwmm4Yax4vYtqlKbuIr60=; b=BqvUzo4S8+kLFQW6Lm0wzjelHryRXJhC/la2vgAnKG9Eb7JKkf9/x45X3ufWQMAaBV GxJsoaaJ3eBAQ/nTDRxSPPb9MuodMx091iP8tUcfgsDlRbaQ3IRFOhdjUHC/qWdo1dGo DPZd88f2G1qDkdLfFLkZX3E9dhjX1riBc2JOEjl53F90cMbrp7pHHNii/v+vkq/DdH2W 1/AcuwD6j2Phu1OAfFzOyv8M2dsGCv4dlorSWYXtuTdUaKcXF25Wv06iYNY1XZtbNPls +b/Lkn0MYNu9fjyp/zgjEKaK8Fyogs18q1QsrnEOyf/yRGSprFzu/k1OsFUKSIfrMQU8 m29Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=bMC4KKWW; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id m33si3269008pgl.379.2019.01.15.05.02.16; Tue, 15 Jan 2019 05:02:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=bMC4KKWW; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id AB3BD7C087; Tue, 15 Jan 2019 13:02:13 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mail.openembedded.org (Postfix) with ESMTP id 55B6C6BF3D for ; Tue, 15 Jan 2019 13:02:11 +0000 (UTC) Received: by mail-wr1-f51.google.com with SMTP id t6so2811197wrr.12 for ; Tue, 15 Jan 2019 05:02:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=pgDKf7Ey2EvxzR1mTOPBwyUbYuiM1S9j+qujY8R9xcg=; b=bMC4KKWWCyuicXRes/1DUXozda2zhSBVMoPYr9lAtrb6O5ejaAZ2xLaSxjjSOXdHKw KiKnRMqc3I6ROJaxFRxj03sgFBgpUKtX3YJ5pSg7SMlRmo4GDKqvEUKqbpBEhKyOJk0w 4lADNChTHrUnob5VxMyD+tBLlIiJb8h/Pnsfyz42eNWVhEjUBDXNav0QtGOx0JulW6eb GIqreWu7/Tm5wwQJFvhbdjv/s+nlJdNI0yHh7XLrCOwBHN1d68bqXiYxRQXjxaY0azfn ZMbqqwHP8IPynvkN/97+yrfjSPCsR3FcO2Ol9Aoiuuv0S6e89JcLYRGNzIDyDalu7loE EWOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pgDKf7Ey2EvxzR1mTOPBwyUbYuiM1S9j+qujY8R9xcg=; b=a1s4o6FjKQKwK1yiWtCREQhAjH2bOlFb2ZL9+xVPxy5mDbwarqK6M2TQct+DCGzs4F jvhzIY0y6qo9pZLBpOMfyRUbXgo3OeJYmpS+g0ehCJGvK0NiywhNAnu85ymDTpp7Q/Jp 4fDRu7SPkV4RqI2Gvsr87g1JYnBxENDAKfS390pbJ5oOVXyRG0IP5zFt9HtqAZbDMgDk 5gOw6VG0ApypdD5RxWBE13LGb4V4qeaNBtfDdcL2GRh3YzQPxdFFDli6be5z4F6novaN Vp6wr0Xw/TK4dzL1yc5F1NMdPXcUyWWNNC8/G4iaC5IieeJOrwnPMu5B4+LHMijRF6bq jbbw== X-Gm-Message-State: AJcUukez20EoYH7vaYaxgv8EkT/3LSNSkzcsjJ1JQKQuK32R7JuZuur/ VH2te/YhTO4u+mhczdwVDeWK4AIss2o= X-Received: by 2002:a5d:6988:: with SMTP id g8mr2939811wru.33.1547557331636; Tue, 15 Jan 2019 05:02:11 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id s1sm112793721wro.9.2019.01.15.05.02.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Jan 2019 05:02:10 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Tue, 15 Jan 2019 13:02:03 +0000 Message-Id: <20190115130203.1829-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Cc: Bruce Ashfield Subject: [OE-core] [PATCH][thud] kernel: use olddefconfig as the primary target for KERNEL_CONFIG_COMMAND X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Bruce Ashfield As was warned by commit 312ee68752fa [kconfig: announce removal of oldnoconfig if used], oldnoconfig has been removed from the 4.20 kernel. So we switch our default mode to olddefconfig. commit fb16d8912 [kconfig: replace 'oldnoconfig' with 'olddefconfig', and keep the old name as an alias] introduced olddefconfig in the 3.10 kernel, we shuffle oldnoconfig to the fallback target. The fallback mode allows kernels between 3.10 and the currently listed oldest kernel of 3.2 to continue to configure. Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie Signed-off-by: Ross Burton --- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index e04d2fe0043..880c5ef1728 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -492,7 +492,7 @@ sysroot_stage_all () { : } -KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} CC="${KERNEL_CC}" O=${B} oldnoconfig" +KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} CC="${KERNEL_CC}" O=${B} olddefconfig || oe_runmake -C ${S} O=${B} CC="${KERNEL_CC}" oldnoconfig" python check_oldest_kernel() { oldest_kernel = d.getVar('OLDEST_KERNEL')