WIP FPC-III support
[linux/fpc-iii.git] / tools / testing / selftests / bpf / bpf_testmod / Makefile
blob15cb36c4483ac3b970d93d2e4467cd290917c361
1 BPF_TESTMOD_DIR := $(realpath $(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
2 KDIR ?= $(abspath $(BPF_TESTMOD_DIR)/../../../../..)
4 ifeq ($(V),1)
5 Q =
6 else
7 Q = @
8 endif
10 MODULES = bpf_testmod.ko
12 obj-m += bpf_testmod.o
13 CFLAGS_bpf_testmod.o = -I$(src)
15 all:
16 +$(Q)make -C $(KDIR) M=$(BPF_TESTMOD_DIR) modules
18 clean:
19 +$(Q)make -C $(KDIR) M=$(BPF_TESTMOD_DIR) clean