meson: Use include variables
authorDylan Baker <dylan@pnwbakers.com>
Mon, 11 Dec 2017 23:58:00 +0000 (15:58 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 11 Jan 2018 23:40:02 +0000 (15:40 -0800)
These were added after adderlib was mesonified, but it still good to use
them instead of open coding them.

Acked-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
src/amd/addrlib/meson.build

index 1d16ba86499fc86fc75a0e30aadb5d4fc83649f3..a7e9dc8c18353b997d65c2bf3c37eff62fce5640 100644 (file)
@@ -56,8 +56,8 @@ libamdgpu_addrlib = static_library(
   include_directories : [
     include_directories(
       'core', 'inc/chip/gfx9', 'inc/chip/r800', 'gfx9/chip', 'r800/chip',
-      '../common', '../../',
     ),
+    inc_amd_common, inc_src,
   ],
   cpp_args : cpp_vis_args,
 )