2021-07-22 06:35:24 +08:00
|
|
|
obj-m += hello-1.o
|
|
|
|
obj-m += hello-2.o
|
|
|
|
obj-m += hello-3.o
|
|
|
|
obj-m += hello-4.o
|
|
|
|
obj-m += hello-5.o
|
|
|
|
obj-m += start.o
|
|
|
|
obj-m += stop.o
|
|
|
|
obj-m += chardev.o
|
|
|
|
obj-m += procfs1.o
|
|
|
|
obj-m += procfs2.o
|
|
|
|
obj-m += procfs3.o
|
|
|
|
obj-m += procfs4.o
|
|
|
|
obj-m += hello-sysfs.o
|
|
|
|
obj-m += sleep.o
|
|
|
|
obj-m += print_string.o
|
|
|
|
obj-m += kbleds.o
|
|
|
|
obj-m += sched.o
|
|
|
|
obj-m += chardev2.o
|
|
|
|
obj-m += syscall.o
|
|
|
|
obj-m += intrpt.o
|
|
|
|
obj-m += cryptosha256.o
|
|
|
|
obj-m += cryptosk.o
|
|
|
|
obj-m += completions.o
|
|
|
|
obj-m += example_tasklet.o
|
|
|
|
obj-m += devicemodel.o
|
|
|
|
obj-m += example_spinlock.o
|
|
|
|
obj-m += example_rwlock.o
|
|
|
|
obj-m += example_atomic.o
|
|
|
|
obj-m += example_mutex.o
|
|
|
|
obj-m += bottomhalf.o
|
|
|
|
obj-m += ioctl.o
|
|
|
|
|
|
|
|
all:
|
2021-07-22 08:31:47 +08:00
|
|
|
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
|
2021-07-22 06:35:24 +08:00
|
|
|
|
|
|
|
clean:
|
2021-07-22 08:31:47 +08:00
|
|
|
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
|
|
|
|
$(RM) other/cat_noblock *.plist
|
2021-09-02 15:15:07 +08:00
|
|
|
|
|
|
|
indent:
|
|
|
|
clang-format -i *[.ch]
|