From patchwork Thu Jul 11 23:54:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 168853 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp96582ilk; Thu, 11 Jul 2019 16:55:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8yZkiQBNltbw5sjcRuWwBksd6H8kURmg758XfRMFinxW4JKvGB3/Ap3Twb11+/NJ98NbM X-Received: by 2002:a17:902:2a29:: with SMTP id i38mr7781251plb.46.1562889303538; Thu, 11 Jul 2019 16:55:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562889303; cv=none; d=google.com; s=arc-20160816; b=W/SbeohWFvyBRCdB1b/+ESjnJ0tDEj6SRyCwjn9SqC42bcV/oy3jE8XMitQ497g5QH g4OvSYmEuY3aZkNl3Na0KFGG6Mz1fHNooLjz5YlqFvzqqZLP59ncTxjV7bfDFbc4/fT5 aAJZlYqY8Q6dzFZcjev3eQ1L/n5JKoLKLdsRCzAe/1sARcTwM9hJJN6HxTHA0tHEm5Qu p4ABbXKD23CnQqGiwGQvz72Fz82L8vWOBHudaNVAWx9FXsSmGKMDbexwWLqoFQ4CtMmt g32srEnBI/OW0Ino84je08NdzfyBXlYEaUwIO7twdHN+BjsArNMiTYtKAk5ICcJ/US4P dHTQ== 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:message-id:date:to:from:dkim-signature:delivered-to; bh=hL7V20Lqy19f25pXnPJs/XVqd7YY1+rb0Vb08X83G0U=; b=RhU8SioBcbq6kfy6kuo8WexBowWlOXlQuW/pBHy3Y4qWun6u35p+MWzavrLlfvNDgO tuPNIrtv4kb8tTS1YNfKVjFuF69aG4Xtj82FuokyhB/JiGBWq6KGGQjVUkp+Y6X7sZIM Tx9FISy2GHExIyDJ9CKQFKx0vJDPmDtk6n8dnw4mGNoXr5sW90H/VTqqHplKp4zZyKV5 JRKCNCTIpfoPqnRzmWUVZTUYpGqltrq5Ywc+cWUEoYW/l6KriD70YOaLW032jyLfVHuD 7FDfH68BTX2Zh83YztWiY6I773S0kh1pNQCxBpY7xkz/Hk24vFellBWa/dt3XhN0/S4J 1XpQ== 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=WgX4TtU1; 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 s59si6109504plb.294.2019.07.11.16.55.03; Thu, 11 Jul 2019 16:55:03 -0700 (PDT) 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=WgX4TtU1; 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 D54D47F0C1; Thu, 11 Jul 2019 23:54:55 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by mail.openembedded.org (Postfix) with ESMTP id 7AB8E7F0A5 for ; Thu, 11 Jul 2019 23:54:29 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id p13so8018348wru.10 for ; Thu, 11 Jul 2019 16:54:30 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=zJjy5dIGrZ+4v28AqHPGimvQrsof0xm0RoDda3rhxGg=; b=WgX4TtU1sWOeLVjmUFTll6hqHsrw4ArC7OBxhtndR997j20qiioktMXP0ZL0ED83rN 7o1uc3IFKbkQfNq3uezVnrZ6pG/j0AUPtuoDL+B+IgTJsa0/mCa8R4zlIgfsSKqCPu2f IJ1UQnnTEEkInC5AUADAs0m46F/zcevCFMD+aEKBggvecpiqmMR0darZkpRolwPhn4dH O2nib3IR7DaNHHg6t2rs12JWoCbQo2DUxhlNLhZ/BSZq6W7qDqhUA9ZwwhbiB1iZZb0n y9jZN4IXsM0nGwfJM5dlZGUZPTsfpddU4HoUWYG6wKcu91GSFKWPu3qvU6sDTj9PvynU P84Q== 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:mime-version :content-transfer-encoding; bh=zJjy5dIGrZ+4v28AqHPGimvQrsof0xm0RoDda3rhxGg=; b=XcZ76GYo8L5M9UT7sLiDXz8gxk9Rm1fQMRf9uZR+Bhsy13IF5XcdxpdMlKOep34gtx MpXcYHR5KeFzqirexC9/heJrxT+oZcO2Ih+lOyf7roOdXWgRXhKC2BBw3UZB5OZVxwzG Us6RJbYhjBsMj/5mteTbrYvDbYYnHDXe45CC2b7/Th/EI3sRG9KV6IUsZdcD1pTpM/nN iy1RcbvWliJlDFr5guZIwZXJZNM9SBRuQF9pjp8QJgjivSW4+Xldw0eqCu80sRNvl67q rJ/5z3+iYYzLty8ZpBj76PewHJmLvKm6mNMxquuF68kFixaFMy8gId3/59r+nSrKu0Gb tx2w== X-Gm-Message-State: APjAAAVH8GjhfL0RSbp3MqwlnZFSloUBFg3zjtEN4osdOAiWWGd/582A NloQTjMRbjWkzRRTNyYtyItAP98Kul4= X-Received: by 2002:a5d:694a:: with SMTP id r10mr7464269wrw.345.1562889269693; Thu, 11 Jul 2019 16:54:29 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id t3sm3291716wmi.6.2019.07.11.16.54.28 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 11 Jul 2019 16:54:29 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 12 Jul 2019 00:54:27 +0100 Message-Id: <20190711235427.23066-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] grub: build with python 3 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 As part of the mission to remove the use of Python 2, explicitly use Python 3 when building grub. Signed-off-by: Ross Burton --- meta/recipes-bsp/grub/grub2.inc | 2 ++ 1 file changed, 2 insertions(+) -- 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 20877e77355..c5ff10e5986 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc @@ -60,6 +60,8 @@ BUILD_CFLAGS = "" BUILD_CXXFLAGS = "" BUILD_LDFLAGS = "" +export PYTHON = "python3" + CFLAGS_append = " -Wno-error" do_configure_prepend() {