Skip to content

Commit 403faf3

Browse files
authored
Merge pull request #889 from qubitmarkets/dev.884
Build fix : Copy missing igb_uio.c to build dir
2 parents fdd27e4 + 924de78 commit 403faf3

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

dpdk/kernel/linux/igb_uio/meson.build

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
# SPDX-License-Identifier: BSD-3-Clause
22
# Copyright(c) 2017 Intel Corporation
33

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+
414
mkfile = custom_target('igb_uio_makefile',
515
output: 'Makefile',
616
command: ['touch', '@OUTPUT@'])
717

818
custom_target('igb_uio',
9-
input: ['igb_uio.c', 'Kbuild'],
19+
input: src_files, # Now using the copied files in build dir
1020
output: 'igb_uio.ko',
1121
command: ['make', '-C', kernel_build_dir,
1222
'M=' + meson.current_build_dir(),

0 commit comments

Comments
 (0)