1BPF_TEST_NO_CFI_DIR := $(realpath $(dir $(abspath $(lastword $(MAKEFILE_LIST))))) 2KDIR ?= $(abspath $(BPF_TEST_NO_CFI_DIR)/../../../../..) 3 4ifeq ($(V),1) 5Q = 6else 7Q = @ 8endif 9 10MODULES = bpf_test_no_cfi.ko 11 12obj-m += bpf_test_no_cfi.o 13 14all: 15 +$(Q)make -C $(KDIR) M=$(BPF_TEST_NO_CFI_DIR) modules 16 17clean: 18 +$(Q)make -C $(KDIR) M=$(BPF_TEST_NO_CFI_DIR) clean 19 20