-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (20 loc) · 717 Bytes
/
Copy pathMakefile
File metadata and controls
27 lines (20 loc) · 717 Bytes
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
obj-m += hidefs.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
### In case I ever publish the implementation that uses Khook to hook into functions instead of Kprobes (which has a blacklist and WONT let me access the readdir family of functions!)
#obj-m += hidefs.o
# Include the KHOOK Makefile
# include $(PWD)/khook/Makefile.khook
#
# # Add KHOOK goals and flags
# $(MODNAME)-y += $(KHOOK_GOALS)
# ccflags-y += $(KHOOK_CCFLAGS)
# ldflags-y += $(KHOOK_LDFLAGS)
# all:
# make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
#
# clean:
# make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
#