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