git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eal: move common header files
[dpdk.git]
/
kernel
/
linux
/
igb_uio
/
meson.build
diff --git
a/kernel/linux/igb_uio/meson.build
b/kernel/linux/igb_uio/meson.build
index
356f4ab
..
80540ae
100644
(file)
--- a/
kernel/linux/igb_uio/meson.build
+++ b/
kernel/linux/igb_uio/meson.build
@@
-1,12
+1,6
@@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-kernel_dir = get_option('kernel_dir')
-if kernel_dir == ''
- kernel_version = run_command('uname', '-r').stdout().strip()
- kernel_dir = '/lib/modules/' + kernel_version + '/build'
-endif
-
mkfile = custom_target('igb_uio_makefile',
output: 'Makefile',
command: ['touch', '@OUTPUT@'])
mkfile = custom_target('igb_uio_makefile',
output: 'Makefile',
command: ['touch', '@OUTPUT@'])
@@
-14,11
+8,13
@@
mkfile = custom_target('igb_uio_makefile',
custom_target('igb_uio',
input: ['igb_uio.c', 'Kbuild'],
output: 'igb_uio.ko',
custom_target('igb_uio',
input: ['igb_uio.c', 'Kbuild'],
output: 'igb_uio.ko',
- command: ['make', '-C', kernel_dir,
+ command: ['make', '-C', kernel_dir
+ '/build'
,
'M=' + meson.current_build_dir(),
'src=' + meson.current_source_dir(),
'EXTRA_CFLAGS=-I' + meson.current_source_dir() +
'M=' + meson.current_build_dir(),
'src=' + meson.current_source_dir(),
'EXTRA_CFLAGS=-I' + meson.current_source_dir() +
- '/../../../lib/librte_eal/
common/
include',
+ '/../../../lib/librte_eal/include',
'modules'],
depends: mkfile,
'modules'],
depends: mkfile,
+ install: true,
+ install_dir: kernel_dir + '/extra/dpdk',
build_by_default: get_option('enable_kmods'))
build_by_default: get_option('enable_kmods'))