Maintenance

This commit is contained in:
Zhengyi Chen 2024-01-25 16:28:35 +00:00
parent 38b1c92979
commit c5d5f36add
14 changed files with 19 additions and 2273 deletions

View file

@ -1,9 +1,16 @@
obj-m += my_shmem.o
KDIR := ${HOME}/Git/linux/
KDIR := /lib/modules/$(shell uname -r)/build
KDIR_CROSS := ${HOME}/Git/linux
PWD := $(shell pwd)
all:
$(MAKE) -C $(KDIR) M=$(PWD) modules
all-cross:
$(MAKE) -C $(KDIR_CROSS) M=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean
clean-cross:
$(MAKE) -C $(KDIR_CROSS) M=$(PWD) clean