9c1e0dc39a
The EAL API (with doxygen documentation) is moved from common/include/ to include/, which makes more clear that it is the global API for all environments and architectures. Note that the arch-specific and OS-specific include files are not in this global include directory, but include/generic/ should cover the doxygen documentation for them. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: David Marchand <david.marchand@redhat.com>
21 lines
608 B
Meson
21 lines
608 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
mkfile = custom_target('igb_uio_makefile',
|
|
output: 'Makefile',
|
|
command: ['touch', '@OUTPUT@'])
|
|
|
|
custom_target('igb_uio',
|
|
input: ['igb_uio.c', 'Kbuild'],
|
|
output: 'igb_uio.ko',
|
|
command: ['make', '-C', kernel_dir + '/build',
|
|
'M=' + meson.current_build_dir(),
|
|
'src=' + meson.current_source_dir(),
|
|
'EXTRA_CFLAGS=-I' + meson.current_source_dir() +
|
|
'/../../../lib/librte_eal/include',
|
|
'modules'],
|
|
depends: mkfile,
|
|
install: true,
|
|
install_dir: kernel_dir + '/extra/dpdk',
|
|
build_by_default: get_option('enable_kmods'))
|