1 BPF_TEST_NO_CFI_DIR := $(realpath $(dir $(abspath $(lastword $(MAKEFILE_LIST))))) 2 KDIR ?= $(abspath $(BPF_TEST_NO_CFI_DIR)/../../../../..) 3 4 ifeq ($(V),1) 5 Q = 6 else 7 Q = @ 8 endif 9 10 MODULES = bpf_test_no_cfi.ko 11 12 obj-m += bpf_test_no_cfi.o 13 14 all: 15 +$(Q)make -C $(KDIR) M=$(BPF_TEST_NO_CFI_DIR) modules 16 17 clean: 18 +$(Q)make -C $(KDIR) M=$(BPF_TEST_NO_CFI_DIR) clean 19
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.