VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Jiri Olsa <jolsa@kernel.org> 2020-09-23 20:57:34 +0200 committer: Alexei Starovoitov <ast@kernel.org> 2020-09-23 12:43:04 -0700 commit: 017dab341ee75c0d3675b9b3d28be28d38e6defc parent: 0789e13bc3f84f0adafe1935af036956638950f9
Commit Summary:
bpf: Check CONFIG_BPF option for resolve_btfids
Diffstat:
1 file changed, 3 insertions, 1 deletion
diff --git a/Makefile b/Makefile
index c4470a4e131f..b05682eea2c0 100644
--- a/Makefile
+++ b/Makefile
@@ -1084,13 +1084,15 @@ ifdef CONFIG_STACK_VALIDATION
   endif
 endif
 
+ifdef CONFIG_BPF
 ifdef CONFIG_DEBUG_INFO_BTF
   ifeq ($(has_libelf),1)
     resolve_btfids_target := tools/bpf/resolve_btfids FORCE
   else
     ERROR_RESOLVE_BTFIDS := 1
   endif
-endif
+endif # CONFIG_DEBUG_INFO_BTF
+endif # CONFIG_BPF
 
 PHONY += prepare0