summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorAnand Rawat <anand.rawat@intel.com>2019-04-01 20:54:51 -0700
committerThomas Monjalon <thomas@monjalon.net>2019-04-03 01:11:56 +0200
commit428eb983f5f7614661dd5672e3a4ac51b23d6ee1 (patch)
treed4fc4b63e152fc0ee381e13b571f88af689dd7ae /meson.build
parent98edcbb5ab2f06eabb691c67613e65a8405c55b1 (diff)
downloaddpdk-428eb983f5f7614661dd5672e3a4ac51b23d6ee1.zip
dpdk-428eb983f5f7614661dd5672e3a4ac51b23d6ee1.tar.gz
dpdk-428eb983f5f7614661dd5672e3a4ac51b23d6ee1.tar.xz
eal: add OS specific header file
Added rte_os.h files to support OS specific functionality. Updated build system to contain OS headers in the include path. Signed-off-by: Anand Rawat <anand.rawat@intel.com> Reviewed-by: Pallavi Kadam <pallavi.kadam@intel.com> Acked-by: Harini Ramakrishnan <harini.ramakrishnan@microsoft.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build7
1 files changed, 5 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 6061c4b..a964865 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 Intel Corporation
+# Copyright(c) 2017-2019 Intel Corporation
project('DPDK', 'C',
# Get version number from file.
@@ -24,7 +24,10 @@ dpdk_app_link_libraries = []
# configure the build, and make sure configs here and in config folder are
# able to be included in any file. We also store a global array of include dirs
# for passing to pmdinfogen scripts
-global_inc = include_directories('.', 'config', 'lib/librte_eal/common/include')
+global_inc = include_directories('.', 'config',
+ 'lib/librte_eal/common/include',
+ 'lib/librte_eal/@0@/eal/include'.format(host_machine.system()),
+)
subdir('config')
# build libs and drivers