1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
4 mkfile = custom_target('igb_uio_makefile',
6 command: ['touch', '@OUTPUT@'])
8 custom_target('igb_uio',
9 input: ['igb_uio.c', 'Kbuild'],
11 command: ['make', '-C', kernel_dir,
12 'M=' + meson.current_build_dir(),
13 'src=' + meson.current_source_dir(),
14 'EXTRA_CFLAGS=-I' + meson.current_source_dir() +
15 '/../../../lib/librte_eal/common/include',
18 build_by_default: get_option('enable_kmods'))