aboutsummaryrefslogtreecommitdiff
path: root/kernel/dtm/Makefile
blob: 52336619400a1e764e2da50dd0de7c7a1dcd895f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
obj-m += dtm.o

# Build either from a local kernel or from the running system.
KERNEL ?=
ifeq ($(strip $(KERNEL)),)
	DIR=/lib/modules/$$(uname -r)/build
else
	DIR="$(KERNEL)"
endif

all:
	make -C $(DIR) M=$(PWD) modules

clean:
	make -C $(DIR) M=$(PWD) clean