From fd89f87ee3d2721155124954dca4156866001562 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 11 Jul 2023 09:43:44 +0200 Subject: mod: move files to subdirectories --- mod/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 mod/Makefile (limited to 'mod/Makefile') diff --git a/mod/Makefile b/mod/Makefile new file mode 100644 index 0000000..0c25810 --- /dev/null +++ b/mod/Makefile @@ -0,0 +1,17 @@ +ifneq ($(KERNELRELEASE),) +include Kbuild +else +KDIR ?= /lib/modules/`uname -r`/build + +modules: + @$(MAKE) -C $(KDIR) M=$$PWD modules + +clean: + @$(MAKE) -C $(KDIR) M=$$PWD clean + +install: + @$(MAKE) -C $(KDIR) M=$$PWD modules_install + @depmod -a + +endif + -- cgit v1.2.3