[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220714065003.8388-1-jie2x.zhou@intel.com>
Date: Thu, 14 Jul 2022 14:50:03 +0800
From: Jie2x Zhou <jie2x.zhou@...el.com>
To: jie2x.zhou@...el.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, shuah@...nel.org,
nathan@...nel.org, ndesaulniers@...gle.com, trix@...hat.com,
netdev@...r.kernel.org
Cc: linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
bpf@...r.kernel.org, llvm@...ts.linux.dev,
Philip Li <philip.li@...el.com>,
kernel test robot <lkp@...el.com>
Subject: [PATCH] tools/testing/selftests/net/bpf/Makefile: fix fatal error: 'bpf/bpf_helpers.h' file not found
In tools/testing/selftests run:
make -C bpf
make -C net
fatal error: 'bpf/bpf_helpers.h' file not found
Add bpf/bpf_helpers.h include path in net/bpf/Makefile.
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Jie2x Zhou <jie2x.zhou@...el.com>
---
tools/testing/selftests/net/bpf/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/net/bpf/Makefile b/tools/testing/selftests/net/bpf/Makefile
index 8ccaf8732eb2..07d56d446358 100644
--- a/tools/testing/selftests/net/bpf/Makefile
+++ b/tools/testing/selftests/net/bpf/Makefile
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
CLANG ?= clang
+CCINCLUDE += -I../bpf/tools/include
CCINCLUDE += -I../../bpf
CCINCLUDE += -I../../../../lib
CCINCLUDE += -I../../../../../usr/include/
--
2.36.1
Powered by blists - more mailing lists