• Arkadiusz Hiler's avatar
    meson: Start using 'feature' options · 736b0998
    Arkadiusz Hiler authored
    Meson 0.47 comes with a new type of option called 'feature' so instead of:
           type : 'combo',
           value : 'auto',
           choices : ['auto', 'true', 'false'],
    We can:
           type : 'feature',
    
    The main difference is that the feature takes auto, enabled and disabled
    instead of auto, true and false.
    
    get_option() on a feature returns opaque object that can be passed as
    a 'required' argument of a dependency. Auto is equivalent to 'required
    : false', enabled is equivalent to 'required : true' and disabled
    introduces new behavior forcing the dependency to be considered not
    found.
    
    This allows us to streamline a lot of logic regarding optional IGT
    features.
    
    This patch bumps required meson version to 0.47.0
    
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Cc: Petri Latvala <petri.latvala@intel.com>
    Cc: Simon Ser <simon.ser@intel.com>
    Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    736b0998
Name
Last commit
Last update
..
kms Loading commit data...
x11 Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
chart.c Loading commit data...
chart.h Loading commit data...
config.c Loading commit data...
cpu-top.c Loading commit data...
cpu-top.h Loading commit data...
debugfs.c Loading commit data...
debugfs.h Loading commit data...
gem-interrupts.c Loading commit data...
gem-interrupts.h Loading commit data...
gem-objects.c Loading commit data...
gem-objects.h Loading commit data...
gpu-freq.c Loading commit data...
gpu-freq.h Loading commit data...
gpu-perf.c Loading commit data...
gpu-perf.h Loading commit data...
gpu-top.c Loading commit data...
gpu-top.h Loading commit data...
igfx.c Loading commit data...
igfx.h Loading commit data...
meson.build Loading commit data...
overlay.c Loading commit data...
overlay.h Loading commit data...
power.c Loading commit data...
power.h Loading commit data...
rc6.c Loading commit data...
rc6.h Loading commit data...
tracepoint_format.leg Loading commit data...