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