We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fdd27e4 + 924de78 commit 403faf3Copy full SHA for 403faf3
dpdk/kernel/linux/igb_uio/meson.build
@@ -1,12 +1,22 @@
1
# SPDX-License-Identifier: BSD-3-Clause
2
# Copyright(c) 2017 Intel Corporation
3
4
+# Copy source files to build directory
5
+src_files = ['igb_uio.c', 'Kbuild', 'compat.h']
6
+foreach src : src_files
7
+ configure_file(
8
+ input: src,
9
+ output: src,
10
+ copy: true,
11
+ )
12
+endforeach
13
+
14
mkfile = custom_target('igb_uio_makefile',
15
output: 'Makefile',
16
command: ['touch', '@OUTPUT@'])
17
18
custom_target('igb_uio',
- input: ['igb_uio.c', 'Kbuild'],
19
+ input: src_files, # Now using the copied files in build dir
20
output: 'igb_uio.ko',
21
command: ['make', '-C', kernel_build_dir,
22
'M=' + meson.current_build_dir(),
0 commit comments