From patchwork Thu Jun 14 12:27:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 138565 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2047030lji; Thu, 14 Jun 2018 05:27:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLnhCD+2aAsT7d0qB+Xojc/HSAtNPYFbw6NLeI9NZTgOhtXhLO+mvf1Fu/CPFpNCPizaGH5 X-Received: by 2002:a65:5c42:: with SMTP id v2-v6mr2198191pgr.224.1528979252090; Thu, 14 Jun 2018 05:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528979252; cv=none; d=google.com; s=arc-20160816; b=qZStbdAia4QuV/rDwuJLEpTPr5plCErjAqtMYgtNJlNFqijdUgJeU7/uH2mZ7arv3x dCEgQu3i3pdzFA+EWOEoDhP8z68aDQJYvoQlkSBPrXSx50tKf+Oyln5+XYO32g+JN1YQ 1uwln+YfwbYPCrWgGOwZZTc6sOmKpO2mFlaBGO9ZbF12hqYEgKzKAllMrPlV3sFTOaAr flWP4DBRvMzCkW4+8e0HhEfhYajX3A3q3Z1Dku05ox7Bde1EQZ9/EtznhzUjOpqPY4AY dffwKSND5FW1cNpqid6IN7+LvExmqw0hvGzWRf6Awdq8D6U4BNgoEnPMkHBOXajLHx5Q tIsA== 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:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=50ySKsjlzS5Ec64ZiZmP3XzI/vqH3+Ezl6VC3p8CTqY=; b=C2J7IjHIbvGuo1mC4+mM6nrMAtNIBfTALqmgAFax5PBf2zRFSeHbFukbKX4Y6Tna2c KREzVHQN1F6FndssMRs/ZBXAjYMvTL8mbKaOAYHCSYLBYEvbG3LHUYVUvG17vxnJuJsK I4Bgd0gHBjsO4Jp8dCWj5aLyCXM/jUoCwlmf20vS8ESha40XqgnnU8Sgf/aDJOwC7uNm 2o8+8wqdQQ+jncMmmFGuqIt2NTxo2H9JmTtiglM1zxgjnuIkXT34MqHbDCdMsChDy3TQ EsTf2a4S4ViX1EWhFvAomsywulzwyvU2qRDEQR/msAKzzUHVXYcmXA7pYo8qhUGjqXr6 oqZw== 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=n0MvqKSv; 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 k8-v6si5474353pfg.42.2018.06.14.05.27.31; Thu, 14 Jun 2018 05:27:32 -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=n0MvqKSv; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0BADF75393; Thu, 14 Jun 2018 12:27:29 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by mail.openembedded.org (Postfix) with ESMTP id E2C9C7537C for ; Thu, 14 Jun 2018 12:27:27 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id n5-v6so11599988wmc.5 for ; Thu, 14 Jun 2018 05:27:29 -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; bh=WDGnzsvzjUrG14Te0EmcO6HvD6BimOGYhE93ql4EwDo=; b=n0MvqKSvBMrXoujw3ml6HGVILzVBH8Kx3q6zl6zX44NPLT57g5PGsxgYqN2JVtX8OH zYORT93Vuo3iUzG+FgsNLip7Lm5xguImarQyFyDNKOwVm3hPVQbAVHMJS8FJ2+qZIZbA xSIQYVAVOEwHH80A50gSwRoHECo1gKEB/boFvSiI3RlAl7kT41j6F2f8+8THvQ2Qvn+G 1Tog3iFhXpU4aWa8/VW/pgV1/BSLVKxT65wqGyiWojVvYjMHVm81iDJZ+hUwo1iCbToo zgYTRUl4GAMV6Iqji02aCF/Xn07THTvuwOfJpPl3VOL4oaIb6ce9k/CJttbBRMO3GjwG UtWw== 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; bh=WDGnzsvzjUrG14Te0EmcO6HvD6BimOGYhE93ql4EwDo=; b=adN1Ads7Byy06Zm6im3dihxgwTpdBnGedn5KBxh1/ZuNjoZNZYmbK2QTOR+AMJ187h HCqMXhEHfHUSgjMOEBZsfFUwGTWolcCVyTQwSKbw451F1EJjpI0XovrzccaFIjhDgL1N Qs8ZUqll0MoPe4m83lX27GcIdT32WN5mh6LlYlFgoREwWbz1ZiWLcLKUrx2hDZiW5n+4 3jtdPcJbux8Ixiu+2lmiMo6LN6AfZY8jX4E7bEkqBo30SM5wh2ATxcUIonFZPC/z7AbU a0eYwcHuTzsOLlvjL1NvZEKw2itvKQHmiLxM65uZjTjyurKmvBLxlb3gkswvUrYZhzm6 jCNA== X-Gm-Message-State: APt69E251c7A6XMRqe65Zidyn4cLyF1Nh6uJW89BW7+PfYNm8b7X8lUX kmDz5GycM6dJuQVtCcShdcIAjOR1 X-Received: by 2002:a1c:4596:: with SMTP id l22-v6mr1770054wmi.33.1528979248370; Thu, 14 Jun 2018 05:27:28 -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 b80-v6sm7977699wmf.2.2018.06.14.05.27.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 05:27:27 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Thu, 14 Jun 2018 13:27:24 +0100 Message-Id: <20180614122724.12708-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH] meson: class improvements 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 Ensure that the PACKAGECONFIG arguments are always in EXTRA_OEMESON, and log the arguments that are being passed in do_configure. Signed-off-by: Ross Burton --- meta/classes/meson.bbclass | 3 ++- 1 file changed, 2 insertions(+), 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/meson.bbclass b/meta/classes/meson.bbclass index 2c7ce806584..78c5bf3c333 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass @@ -35,7 +35,7 @@ MESON_LINK_ARGS = "${MESON_TOOLCHAIN_ARGS} ${LDFLAGS}" MESON_HOST_ENDIAN = "bogus-endian" MESON_TARGET_ENDIAN = "bogus-endian" -EXTRA_OEMESON += "${PACKAGECONFIG_CONFARGS}" +EXTRA_OEMESON_append = " ${PACKAGECONFIG_CONFARGS}" MESON_CROSS_FILE = "" MESON_CROSS_FILE_class-target = "--cross-file ${WORKDIR}/meson.cross" @@ -85,6 +85,7 @@ EOF CONFIGURE_FILES = "meson.build" meson_do_configure() { + bbnote Executing meson ${EXTRA_OEMESON}... if ! meson ${MESONOPTS} "${MESON_SOURCEPATH}" "${B}" ${MESON_CROSS_FILE} ${EXTRA_OEMESON}; then bbfatal_log meson failed fi