mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	samples/bpf: fix include path in Makefile
Recent commit included libbpf.h in selftests/bpf/bpf_util.h. Since some samples use bpf_util.h and samples/bpf/Makefile doesn't have libbpf.h path included, build was failing. Let's add the path in samples/bpf/Makefile. Signed-off-by: Prashant Bhole <prashantbhole.linux@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
		
							parent
							
								
									aee450cbe4
								
							
						
					
					
						commit
						b552d33c80
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -170,7 +170,7 @@ always += ibumad_kern.o
 | 
				
			||||||
always += hbm_out_kern.o
 | 
					always += hbm_out_kern.o
 | 
				
			||||||
 | 
					
 | 
				
			||||||
KBUILD_HOSTCFLAGS += -I$(objtree)/usr/include
 | 
					KBUILD_HOSTCFLAGS += -I$(objtree)/usr/include
 | 
				
			||||||
KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/
 | 
					KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/bpf/
 | 
				
			||||||
KBUILD_HOSTCFLAGS += -I$(srctree)/tools/testing/selftests/bpf/
 | 
					KBUILD_HOSTCFLAGS += -I$(srctree)/tools/testing/selftests/bpf/
 | 
				
			||||||
KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/ -I$(srctree)/tools/include
 | 
					KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/ -I$(srctree)/tools/include
 | 
				
			||||||
KBUILD_HOSTCFLAGS += -I$(srctree)/tools/perf
 | 
					KBUILD_HOSTCFLAGS += -I$(srctree)/tools/perf
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue