nixpkgs-immich/pkgs/os-specific/linux/trelay/Makefile

15 lines
284 B
Makefile
Raw Normal View History

2024-09-17 10:23:40 -06: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