summaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2018-01-04 12:29:36 -0800
committerPetri Latvala <petri.latvala@intel.com>2018-01-08 11:56:54 +0200
commit91f8c6d6f7748996067837734f0f20de5beb6479 (patch)
treea659e5446190221db111a9f22cd6a0f50716d860 /overlay
parent6db24416fdcdf5571125f9005089241cc6ba2652 (diff)
meson: use message() rather than warning()
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 <lucas.demarchi@intel.com> Cc: Rhys Kidd <rhyskidd@gmail.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Petri Latvala <petri.latvala@intel.com> Reviewed-by: Rhys Kidd <rhyskidd@gmail.com>
Diffstat (limited to 'overlay')
-rw-r--r--overlay/meson.build2
1 files changed, 1 insertions, 1 deletions
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()