]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/kernel/linux/igb_uio/meson.build
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / kernel / linux / igb_uio / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 mkfile = custom_target('igb_uio_makefile',
5 output: 'Makefile',
6 command: ['touch', '@OUTPUT@'])
7
8 custom_target('igb_uio',
9 input: ['igb_uio.c', 'Kbuild'],
10 output: 'igb_uio.ko',
11 command: ['make', '-C', kernel_dir + '/build',
12 'M=' + meson.current_build_dir(),
13 'src=' + meson.current_source_dir(),
14 'EXTRA_CFLAGS=-I' + meson.current_source_dir() +
15 '/../../../lib/librte_eal/include',
16 'modules'],
17 depends: mkfile,
18 install: true,
19 install_dir: kernel_dir + '/extra/dpdk',
20 build_by_default: get_option('enable_kmods'))