mirror of
				https://github.com/xdp-project/bpf-examples.git
				synced 2024-05-06 15:54:53 +00:00 
			
		
		
		
	The reason for going this route is that this allow us to create a user binary that contains the BPF object file. Thus, we can avoid having to load the BPF file from a specific location or having to be in same dir as file. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			300 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			300 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 | 
						|
 | 
						|
USER_TARGETS   := tc_txq_policy
 | 
						|
BPF_TARGETS    := tc_txq_policy_kern
 | 
						|
 | 
						|
# Depend on bpftool for auto generating
 | 
						|
# skeleton header file tc_txq_policy_kern.skel.h
 | 
						|
#
 | 
						|
BPF_SKEL_OBJ := tc_txq_policy_kern.o
 | 
						|
 | 
						|
LIB_DIR = ../lib
 | 
						|
 | 
						|
include $(LIB_DIR)/common.mk
 |