• Yonghong Song's avatar
    samples/bpf: fix a build problem · 00a3855d
    Yonghong Song authored
    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: default avatarYonghong Song <yhs@fb.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    00a3855d
Makefile 7.09 KB