gbm: Don't traverse backwards for includes
authorDylan Baker <dylan@pnwbakers.com>
Sat, 21 Oct 2017 00:49:42 +0000 (17:49 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 2 Nov 2017 18:39:45 +0000 (11:39 -0700)
commita29869e8720b385d3692f6a74de2921412b2c8c1
tree5e9dab02c13d28896ee151572d6b074ddb38295a
parent10d869535cc704c6f787f6759951bb5c87969b29
gbm: Don't traverse backwards for includes

This is just a bad idea and should be avoided. Instead, make the #include
flat and fix the build systems to pass the proper -I flags

v2: - add an inc_wayland_drm instead passing a path to
      include_directories (Emil)
    - update commit message (Emil)

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com> (v1)
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (v1)
src/egl/wayland/wayland-drm/meson.build
src/gbm/Makefile.am
src/gbm/backends/dri/gbm_dri.c
src/gbm/meson.build