blob: 8c8bb39ffa2820e927b27fe5b2344ac124e5ca76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
PAGE_FRAG_TEST_DIR := $(realpath $(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
KDIR ?= /lib/modules/$(shell uname -r)/build
ifeq ($(V),1)
Q =
else
Q = @
endif
MODULES = page_frag_test.ko
obj-m += page_frag_test.o
all:
+$(Q)make -C $(KDIR) M=$(PAGE_FRAG_TEST_DIR) modules
clean:
+$(Q)make -C $(KDIR) M=$(PAGE_FRAG_TEST_DIR) clean
|