From patchwork Wed Nov 20 18:38:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 179879 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp2489958ilf; Wed, 20 Nov 2019 10:38:47 -0800 (PST) X-Google-Smtp-Source: APXvYqwhmpLVUKnvFSpbIUP4hznwhJOqBzZBrz2oJncVAd+uJu8840DhLkPdfjnbGqNdRLotBy5v X-Received: by 2002:a17:902:7e45:: with SMTP id a5mr4287251pln.315.1574275127338; Wed, 20 Nov 2019 10:38:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574275127; cv=none; d=google.com; s=arc-20160816; b=D6gB/8zC3krAo3YMaJIJNgCfMo5vS2YMXgBaXzT3+m9fC6lpBl1s4HYltnO0gx5auy DmNNgN25ORVlcCCdOvPWQ7qw1p9wX3skdYscTr3U2CUdISRsYRB1LwtjsvEf3H0ftdob xr9u0p580GgsjUExi1dPvR+t4K1KOV3B6CKu+A0ypAJggacfwA08V7QU7qcBTUUmsmga GbjCaeQAM+cPwCPqJLwviRTX+ETqnR2uzk9UFxW1G5wJyQN2PAD4qUmORUVwVUHDdhd0 HNTlwbu/3oyj49m1ONh53LPrd1nD1MRLVpuEXaEWFovkxKdzanL9mV//ZZQ6XpzIvZqb R9vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=PGp/e3LJ/4nY2FGyMfWWEyrYY48e9L/sNfEDudBZj5k=; b=jy1d03g42fPuxG7IjMsnhGEl474VT4d1Ct8Fqn/4yvSRvXNpm74Y2OQzAjrwKYy8nD Ws23Xhz3ugTmyJrRogeaxuAbQA42xXWHQ3JUIohpGeuP3qF7F5wLlMXqQD62xtBQYm6H kQ1KXplE2yX3ZmFR8Ig5LI6jOIKzp8RN9zG44sdm/CIJEa3yO983SgWmEj+vLjn3J1Y5 sM9kaxk38MN8BkVLaKXdnbFVDcm67jAzxCYSEgg4g/Ii2ZqFsHwdb+7TTqc9e0l56ybA tfHSIUZ4WVvFfos4n5S+d3qkYgldmVfFRbHDNfDb8eWfyZ0SKpALuZzpLYtSuSDkRcHO xN1g== 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=ofPe9cvA; 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 o15si209721pjp.0.2019.11.20.10.38.47; Wed, 20 Nov 2019 10:38:47 -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=ofPe9cvA; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B3C3E7F8AC; Wed, 20 Nov 2019 18:38:30 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by mail.openembedded.org (Postfix) with ESMTP id E1FD67F88D for ; Wed, 20 Nov 2019 18:38:24 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id n1so1075427wra.10 for ; Wed, 20 Nov 2019 10:38:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=FEfRxk3DNrwGL2wE9+gdvnS6999lgemv6Ym4VYE3Fr0=; b=ofPe9cvAJfDhsRFLlqwhCTnJR40UKk9zZn7CxWxmIzo/URiqvoS7dO2JmOeVsYzvgw k0JcinpEBgQmKmzUjTChLfAiSISKjBqIVuQxa3E6kAHl97Dcm4l+kCBFEx+/KrUAMe1d Zim35B5YctGFPyQPgEv779TqJnrzXZ4vkA9AT2Ah7d/6zVPXr6vCqrW8eWmFFdAPbAgA o9ZM/M5rrKziG+FVod/S31fJIojCvRPCP+45hQH084+srFNEJS5e7jbIS4MJJXAp1KEo IfhmFeuqkBlSMQCmAbGo+mmdAvXdRth+Px5bP58mZbjUyGHhAunIO/JY89gfY70DKgbd 9mdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FEfRxk3DNrwGL2wE9+gdvnS6999lgemv6Ym4VYE3Fr0=; b=dWH+Ap2pgAz+qUrDlLKbq243NMPOyEpJDueR4sVEzzHYHeA1AT7wgUi9qJAjAET5Oz Xx1RPSQCR3y3ghZQ298iDTBQ0CsbOmWzP+FTdFtxB6Btm1PEiUqiXbzb0ap5WviA73Q5 BpPoGxXPOc7ssv1X2Qchi52MdrzhVMG4gxRdgG6gEmnmW7Jdz33uTvPrGvN8BTh/EROs you2Myy+5PRw0QFb2m7UqBkk8Bjmyk33G55LwpYiv6gIpjOI4GXq7G6M74R4OtWEmSon zeJETwu02PkJGK5aTFpyZwZ83aZZiIyVoRezL8l419WZkew69idnqmdsxsu0hMZMCXQF 2Iow== X-Gm-Message-State: APjAAAXGOHU0DmqgFOvknaw9CxTyhhIMIp1Lrtjdm0/3kJFypDi0qKQx 78OYUce/tWA6kJzEesnwXyq/glaeCrU= X-Received: by 2002:adf:db8e:: with SMTP id u14mr492060wri.274.1574275105311; Wed, 20 Nov 2019 10:38:25 -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 p25sm143652wma.20.2019.11.20.10.38.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2019 10:38:24 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 20 Nov 2019 18:38:13 +0000 Message-Id: <20191120183813.9390-5-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191120183813.9390-1-ross.burton@intel.com> References: <20191120183813.9390-1-ross.burton@intel.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 5/5] grub: don't autoreconf twice 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org do_configure() essentially calls autogen.sh to generate some sources and then autoreconf, but autogen.sh also calls autoreconf. Pass a magic variable so that autogen.sh doesn't autoreconf for us. Signed-off-by: Ross Burton --- meta/recipes-bsp/grub/grub2.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index 7138e4df872..b3291cb4b80 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc @@ -60,8 +60,9 @@ BUILD_LDFLAGS = "" export PYTHON = "python3" do_configure_prepend() { - ( cd ${S} - ${S}/autogen.sh ) + cd ${S} + FROM_BOOTSTRAP=1 ${S}/autogen.sh + cd ${B} } RDEPENDS_${PN}_class-native = ""