Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion dpdk/kernel/linux/igb_uio/meson.build
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation

# Copy source files to build directory
src_files = ['igb_uio.c', 'Kbuild', 'compat.h']
foreach src : src_files
configure_file(
input: src,
output: src,
copy: true,
)
endforeach

mkfile = custom_target('igb_uio_makefile',
output: 'Makefile',
command: ['touch', '@OUTPUT@'])

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