All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH xf86-video-intel] meson: s/debug/internal-debug/
@ 2018-10-22 13:43 Ville Syrjala
  2018-10-22 13:48 ` Chris Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Ville Syrjala @ 2018-10-22 13:43 UTC (permalink / raw)
  To: intel-gfx

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

'debug' is a reserved option name since meson 0.48. So we
must rename our own debug option to something else. Let's
go with 'internal-debug'.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 meson_options.txt | 2 +-
 src/meson.build   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meson_options.txt b/meson_options.txt
index 993127408cb4..e99a8f42cc51 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -36,7 +36,7 @@ option('use-create2', type : 'boolean', value : false,
        description : 'Enable use of create2 ioctl (experimental)')
 option('async-swap', type : 'boolean', value : false,
        description : 'Enable use of asynchronous swaps (experimental)')
-option('debug', type : 'combo', value : 'no', choices : [ 'no', 'sync', 'memory', 'pixmap', 'full' ],
+option('internal-debug', type : 'combo', value : 'no', choices : [ 'no', 'sync', 'memory', 'pixmap', 'full' ],
        description : 'Enable internal debugging')
 option('xorg-module-dir', type : 'string', value : '@libdir@/xorg/modules',
        description : 'Default xorg module directory')
diff --git a/src/meson.build b/src/meson.build
index c038ba3ed989..0a46e233a94c 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -68,7 +68,7 @@ if with_backlight_helper
   config.set('USE_BACKLIGHT_HELPER', 1)
 endif
 
-debug = get_option('debug')
+debug = get_option('internal-debug')
 if debug == 'sync'
   config.set('DEBUG_SYNC', 1)
 endif
-- 
2.18.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH xf86-video-intel] meson: s/debug/internal-debug/
  2018-10-22 13:43 [PATCH xf86-video-intel] meson: s/debug/internal-debug/ Ville Syrjala
@ 2018-10-22 13:48 ` Chris Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Wilson @ 2018-10-22 13:48 UTC (permalink / raw)
  To: Ville Syrjala, intel-gfx

Quoting Ville Syrjala (2018-10-22 14:43:57)
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> 'debug' is a reserved option name since meson 0.48. So we
> must rename our own debug option to something else. Let's
> go with 'internal-debug'.

I don't even care to ask reserved for what. Ta,
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-22 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-22 13:43 [PATCH xf86-video-intel] meson: s/debug/internal-debug/ Ville Syrjala
2018-10-22 13:48 ` Chris Wilson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.