aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/bpf/bpf_test_no_cfi/Makefile
blob: ed5143b79edf790b5d4e7213507110e2c6fb4886 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BPF_TEST_NO_CFI_DIR := $(realpath $(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
KDIR ?= $(abspath $(BPF_TEST_NO_CFI_DIR)/../../../../..)

ifeq ($(V),1)
Q =
else
Q = @
endif

MODULES = bpf_test_no_cfi.ko

obj-m += bpf_test_no_cfi.o

all:
	+$(Q)make -C $(KDIR) M=$(BPF_TEST_NO_CFI_DIR) modules

clean:
	+$(Q)make -C $(KDIR) M=$(BPF_TEST_NO_CFI_DIR) clean