tegra: Include private.h in list of source files
authorThierry Reding <treding@nvidia.com>
Fri, 9 Jul 2021 18:21:35 +0000 (20:21 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 23 Feb 2022 14:39:59 +0000 (15:39 +0100)
This makes sure that the proper dependencies are created and that the
file is distributed.

Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
tegra/meson.build

index 7585c8b..53724d2 100644 (file)
 
 libdrm_tegra = library(
   'drm_tegra',
-  [files('tegra.c'), config_file],
+  [
+    files(
+      'private.h', 'tegra.c'
+    ),
+    config_file
+  ],
   include_directories : [inc_root, inc_drm],
   link_with : libdrm,
   dependencies : [dep_pthread_stubs, dep_atomic_ops],