From patchwork Thu Jan 4 20:29:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas De Marchi X-Patchwork-Id: 10145625 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1CD6D6034B for ; Thu, 4 Jan 2018 20:29:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10997285F2 for ; Thu, 4 Jan 2018 20:29:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0546C28618; Thu, 4 Jan 2018 20:29:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0F02C285F2 for ; Thu, 4 Jan 2018 20:29:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 25CF56E213; Thu, 4 Jan 2018 20:29:42 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 561356E213 for ; Thu, 4 Jan 2018 20:29:41 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jan 2018 12:29:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,315,1511856000"; d="scan'208";a="189772742" Received: from ldmartin-desk.jf.intel.com ([10.24.10.79]) by orsmga005.jf.intel.com with ESMTP; 04 Jan 2018 12:29:40 -0800 From: Lucas De Marchi To: intel-gfx@lists.freedesktop.org Date: Thu, 4 Jan 2018 12:29:36 -0800 Message-Id: <20180104202936.31704-1-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.14.3 Cc: Daniel Vetter Subject: [Intel-gfx] [PATCH i-g-t] meson: use message() rather than warning() X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP warning() was only added to the meson interpreter in 0.44 which is currently the last version. Let's use message() as we are currently requiring meson > 0.40. Otherwise we get the following error: Meson encountered an error in file overlay/meson.build, line 62, column 1: Unknown function "warning". Fixes: 865a47ca ("overlay: parse tracepoints from sysfs to figure out fields' location") Signed-off-by: Lucas De Marchi Cc: Rhys Kidd Cc: Daniel Vetter Cc: Petri Latvala Reviewed-by: Rhys Kidd --- overlay/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay/meson.build b/overlay/meson.build index 8b5c52b4..546c8377 100644 --- a/overlay/meson.build +++ b/overlay/meson.build @@ -59,7 +59,7 @@ if leg.found() command: [leg, '-P', '-o', '@OUTPUT@', '@INPUT@']) gpu_overlay_src += leg_file else - warning('leg command not found, disabling overlay; try : apt-get install peg') + message('WARNING: leg command not found, disabling overlay; try : apt-get install peg') endif if leg.found() and xrandr.found() and cairo.found()