net/hns3: remove redundant mailbox response
[dpdk.git] / buildtools / chkincs / gen_c_file_for_header.py
1 #! /usr/bin/env python3
2 # SPDX-License-Identifier: BSD-3-Clause
3 # Copyright(c) 2021 Intel Corporation
4
5 from sys import argv
6 from os.path import abspath
7
8 (h_file, c_file) = argv[1:]
9
10 contents = '#include "' + abspath(h_file) + '"'
11 with open(c_file, 'w') as cf:
12     cf.write(contents)