-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathKbuild
61 lines (58 loc) · 2.2 KB
/
Kbuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
EXTRA_CFLAGS = -Wall -g
obj-m += hello.o # hello world module
obj-m += debug.o # Print line, func, file name ..
obj-m += minimal_dyndbg.o #
obj-m += dyndbg.o #
obj-m += list_proc.o # $(ps -aux);
#obj-m += oops.o # make oops ...
obj-m += invoke-userlevel-app-2.o # invoke /sbin/shutdown
obj-m += joystick.o
#obj-m += net.o
obj-m += netfilter.o
obj-m += list.o # <linux/list.h>
obj-m += per-cpu.o # per-cpu variable
obj-m += hashtable.o # <linux/hashtable.h>
obj-m += phone_table.o # simple hashtable.h example
obj-m += container_of.o # understanding container_macro ..
obj-m += container_of_container_of.o
obj-m += string.o # string manipulation
obj-m += kfifo_int.o # /samples/kfifo/inttype-example.c
obj-m += wait_queue.o #
obj-m += wait_queue_proc.o #
obj-m += waitqueue2.o # full static example
obj-m += waitqueue3.o # dynamic version
obj-m += msleep.o #
obj-m += params.o # argc & argv in kernel level
obj-m += cb_params.o # callback when var change
obj-m += proc_fs.o # proc fs full example (V1)
obj-m += proc_fs2.o # char dev with proc_fs
obj-m += sys_fs.o # sys filesystem
obj-m += cdev.o # complete char device
obj-m += ioctl.o # ioctl
obj-m += work_queue.o # -------
obj-m += list2.o # -------
#obj-m += input.o # testing linux input subsystem
obj-m += kthread.o # kernel level threads
obj-m += export_symbols.o # let's try to share some dummy symbols
obj-m += use_symbols.o # use ur shared symbols
obj-m += mod1.o #
obj-m += mod2.o #
obj-m += trick_kallysms.o # /proc/kallsyms
obj-m += mutex.o # <linux/mutex.h> example
obj-m += atomic.o #
obj-m += atomic2.o #
obj-m += spinlock.o # <linux/spinlock.h> example
obj-m += rwlock.o # Read write spinlock
obj-m += seqlock.o # Seqlock
obj-m += tasklet.o # Tasklet
#obj-m += tasklet2.o # embetronicx example
obj-m += timer.o # <linux/timer.h>
obj-m += misc_driver.o # Misc device driver
obj-m += static_completion.o # "wait of completion"
obj-m += dynamic_completion.o # dynamic version..
obj-m += netlink.o # netlink socket
obj-m += debugfs.o # debugfs
obj-m += myfs.o # my custom virtual file system
obj-m += kbd.o # keyboard Sniffer
obj-m += oops_mod.o #
obj-m += netlink.o #