mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
6cee3b5893
Co-authored-by: Yaya <github@uwu.is> Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Yureka <yuka@yuka.dev>
15 lines
284 B
Makefile
15 lines
284 B
Makefile
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
|