diff options
author | Yonghong Song <yhs@fb.com> | 2017-06-21 13:48:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-22 11:35:19 -0400 |
commit | 00a3855d68bd1ae633c94b13b8b404a5a238b135 (patch) | |
tree | 57c1526b14b6fb2260d4daaaa249ae7eaee0995e /virt | |
parent | 2de18105a8219bde0cc4947729d5f00ecb39179f (diff) | |
download | linux-00a3855d68bd1ae633c94b13b8b404a5a238b135.tar.gz |
samples/bpf: fix a build problem
tracex5_kern.c build failed with the following error message:
../samples/bpf/tracex5_kern.c:12:10: fatal error: 'syscall_nrs.h' file not found
#include "syscall_nrs.h"
The generated file syscall_nrs.h is put in build/samples/bpf directory,
but this directory is not in include path, hence build failed.
The fix is to add $(obj) into the clang compilation path.
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions