tegra: Install tegra-openclose test

Allow this simple test to be installed so that it can easily be run on a
target device.

Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
main
Thierry Reding 2018-03-20 13:34:48 +01:00
parent 69fa0dd940
commit 37e9695d51
2 changed files with 6 additions and 3 deletions

View File

@ -1 +1 @@
openclose
tegra-openclose

View File

@ -18,10 +18,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
inc_tegra = include_directories('../../tegra')
openclose = executable(
'openclose',
'tegra-openclose',
files('openclose.c'),
include_directories : [inc_root, inc_drm, include_directories('../../tegra')],
include_directories : [inc_root, inc_drm, inc_tegra],
c_args : libdrm_c_args,
link_with : [libdrm, libdrm_tegra],
install : with_install_tests,
)