diff --git a/meson.build b/meson.build index 764381cdc0b..3258a98db7d 100644 --- a/meson.build +++ b/meson.build @@ -84,6 +84,7 @@ if with_tools.contains('all') 'nouveau', 'xvmc', 'asahi', + 'imagination', ] endif diff --git a/meson_options.txt b/meson_options.txt index 9fe70b11c28..0bff7efa29f 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -423,7 +423,7 @@ option( 'tools', type : 'array', value : [], - choices : ['drm-shim', 'etnaviv', 'freedreno', 'glsl', 'intel', 'intel-ui', 'nir', 'nouveau', 'xvmc', 'lima', 'panfrost', 'asahi', 'all', 'dlclose-skip'], + choices : ['drm-shim', 'etnaviv', 'freedreno', 'glsl', 'intel', 'intel-ui', 'nir', 'nouveau', 'xvmc', 'lima', 'panfrost', 'asahi', 'imagination', 'all', 'dlclose-skip'], description : 'List of tools to build. (Note: `intel-ui` selects `intel`)', ) option( diff --git a/src/imagination/rogue/meson.build b/src/imagination/rogue/meson.build index 240dfa207b1..f3f6945d5cf 100644 --- a/src/imagination/rogue/meson.build +++ b/src/imagination/rogue/meson.build @@ -19,6 +19,8 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +with_imagination_tools = with_tools.contains('imagination') + libpowervr_rogue_files = files( 'nir/rogue_nir_constreg.c', 'nir/rogue_nir_lower_io.c', @@ -73,5 +75,6 @@ rogue_compiler = executable( inc_gallium_aux, inc_compiler, ], - install : false, + build_by_default : with_imagination_tools, + install : with_imagination_tools, )