From patchwork Thu Jul 11 23:54:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 168854 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp96649ilk; Thu, 11 Jul 2019 16:55:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoGtFrpdD6euMMtpoPTsAHSZRzhNdZzEkmi+amgyvHMUoRgMs5i1VlD5JYfeiF1e0zN194 X-Received: by 2002:a17:90a:2627:: with SMTP id l36mr8031444pje.71.1562889309879; Thu, 11 Jul 2019 16:55:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562889309; cv=none; d=google.com; s=arc-20160816; b=OTsLB6oAD69GKvPmigip+kUuOFz8hJAaD0ZNgI2Ajv4KQ1R4u0FWY2QJK9BU9FmAT6 K38q5kRfUOetoSVWP8pCssi2C2OJBM+3dbiW8rWRMz74XItPWej7oKYo0VuQHvECGhr7 bZjJ5AlntNZcMf8FqtEQj75GQ+GR0QZK1C5fdpoK37kUEQzP0YPHE85Fo9TqF7kA5SwZ wCZs4XxAD/ISYbQySIATXJibup+Sp38DcCQUcHqq0d4Y9n87Ek5vUR0Ufax/jwZJwDgv 7cx6wFU6rvs4hIf9HfCDLamxW5cHkEbhtQ9CaLon8T45gYKa9+AGomQ9T2RRGKybJyfX YqKQ== 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=kVj8bQWYWIIystcY8Nn2uiwT3rGr8F0QyP0M7q9KqDs=; b=wZngLk92PuAmP9A18pvhm3OVnJB7P4YRsGQ/MXDGbkpQstauThKrmZtohGIQ+fN2+A k9UUxgiiTWqXCStZZptftGKecjvCJAhiHXsSXhmqCCPcv2W24yZSnsL8S/UUIoKrYpIz JCkHgTZtpSUCLj4z+y/mRipiz5XlbkE9iurHnR2e0aNCBl42npNc16p3+AwtLQQ+Y4YK +Xrt4HjWT2y1W9oux+8rXs2JEeygYRjfYFAfnyLD9ZbgSwj79Oxcff4aAKHBYvSvdyGK 5BkG2hPQ4jAkHO0WllmDR+U6YYDwirDQbDoV2HuFyAWPpj1DLjcCcTbdINbROyaMmryd Ki8w== 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=E0BmSq86; 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 2si6089009pla.22.2019.07.11.16.55.09; Thu, 11 Jul 2019 16:55:09 -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=E0BmSq86; 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 08CC47F0C6; Thu, 11 Jul 2019 23:54:57 +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 1338B7F0A5 for ; Thu, 11 Jul 2019 23:54:32 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id r1so8025540wrl.7 for ; Thu, 11 Jul 2019 16:54:34 -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=0BoAy6pgRslmQUepxOlNDE0RILap4cOUB1vW+lb+6+4=; b=E0BmSq86CavgrP0ETlBOp6UXO9GszWHBun2U2aILFghqpItkl2XBnnwAJIxNwIXAML ToQHqWwVMEjcFp38oPxB1khItpEX3e9zUHkzEZ/7zxSwAy7I+VlEbm2YnEoJKxnYPK7p 6AovoMetcJmVNgzs3D+Mu96dpHN8AzT+SWfw8ELrirUs6PtZG0lyUeXm7o0rdKKzGDez bGjGrzMsFCeJdz7HDm1Bu3+o9gwcKqz1AdQvkdUoRjXghu/rt/F4/6XW2dd6aVWF4xCW sX9no2EDf7dhCNqbqDeiALbcA8TUtnTD+MMtuK+g1lDGDWPr/sJimu6k2dxPleax5FaL ZXTA== 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=0BoAy6pgRslmQUepxOlNDE0RILap4cOUB1vW+lb+6+4=; b=Iol9+zWVDqpQJ/OPSVMgc2ckCw6U9IYxBjUL1IGIGPaA6GKf1dtaHiqRVsNgxVBnKu BKTyx8B1erTPZtKYRXqoYOCpI3YqZmrc1Ria1wCy/BOoFovi0IPxbFu+SsapTkWbzGRN qypRI+JiCPFc26xckVyeMLcaj+F6xJ7v+2MC5N2XbINdbj29uJN8/sHmzC2/ijY8AuVz JyAWWQ6XBA83GRNeZdpi+w1WzMUmxT7vigJztKt1pZhZxupyOtVc/CI/Ga8nok5QSfhq 3KGRGtlO5dUxeXVMOecrotA7nuGxyM8nFs9gHEm27V1Zro6sFe91SPS5D5p/+ku1inWc MA2Q== X-Gm-Message-State: APjAAAVPy0r9g9rCFzfbvh7GSqfC7prqCCcTRsgMSlHOYVX/mVxZcU5B 4JNQuLH2l1NHdHWUwtnSmDS5mTsF9jI= X-Received: by 2002:adf:fd08:: with SMTP id e8mr6566074wrr.147.1562889273584; Thu, 11 Jul 2019 16:54:33 -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 c78sm8239871wmd.16.2019.07.11.16.54.32 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 11 Jul 2019 16:54:32 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 12 Jul 2019 00:54:31 +0100 Message-Id: <20190711235431.23122-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] qemu: use Python 3 to build 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 qemu. Signed-off-by: Ross Burton --- meta/recipes-devtools/qemu/qemu-native.inc | 1 - meta/recipes-devtools/qemu/qemu.inc | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) -- 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-devtools/qemu/qemu-native.inc b/meta/recipes-devtools/qemu/qemu-native.inc index 34ab8e64011..c04297cad04 100644 --- a/meta/recipes-devtools/qemu/qemu-native.inc +++ b/meta/recipes-devtools/qemu/qemu-native.inc @@ -6,7 +6,6 @@ SRC_URI_append = " \ file://0011-fix-libcap-header-issue-on-some-distro.patch \ file://0012-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch \ " -EXTRA_OECONF_append = " --python=python2.7" EXTRA_OEMAKE_append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index ac475a8e2ae..c1c99cd8683 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -77,6 +77,8 @@ export LIBTOOL="${HOST_SYS}-libtool" B = "${WORKDIR}/build" +EXTRA_OECONF_append = " --python=${HOSTTOOLS_DIR}/python3" + do_configure_prepend_class-native() { # Append build host pkg-config paths for native target since the host may provide sdl BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config || echo "")