tegra: Include private.h in list of source files

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>
main
Thierry Reding 2021-07-09 20:21:35 +02:00
parent 5f920e61c8
commit dece59037d
1 changed files with 6 additions and 1 deletions

View File

@ -20,7 +20,12 @@
libdrm_tegra = library( libdrm_tegra = library(
'drm_tegra', 'drm_tegra',
[files('tegra.c'), config_file], [
files(
'private.h', 'tegra.c'
),
config_file
],
include_directories : [inc_root, inc_drm], include_directories : [inc_root, inc_drm],
link_with : libdrm, link_with : libdrm,
dependencies : [dep_pthread_stubs, dep_atomic_ops], dependencies : [dep_pthread_stubs, dep_atomic_ops],