Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
284 B
Makefile
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
KERNELRELEASE ?= $(shell uname -r)
KERNEL_DIR ?= /lib/modules/$(KERNELRELEASE)/build
PWD := $(shell pwd)
obj-m := trelay.o
all:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules
install:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules_install
clean:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) clean