diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-07-27 20:25:23 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-07-27 22:36:19 -0700 |
commit | 61098e89e6c80d6a141774ef8ee41e38471b069e (patch) | |
tree | dbed6e52ba69d51e12b9ecc53770a9b70874ab5d /scripts/gcc-plugins/gcc-common.h | |
parent | 943e398dd36c2f50ab5828e6ce502a16d4bad4db (diff) |
selftests/bpf: prevent headers to be compiled as C code
Apprently listing header as a normal dependency for a binary output
makes it go through compilation as if it was C code. This currently
works without a problem, but in subsequent commits causes problems for
differently generated test.h for test_progs. Marking those headers as
order-only dependency solves the issue.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions