Skip to content

Commit

Permalink
scthook -- initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya V. Matveychikov committed Dec 10, 2014
0 parents commit ea6299f
Show file tree
Hide file tree
Showing 17 changed files with 10,072 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
NAME := scthook

obj-m := $(NAME).o
obj-y := libudis86/

$(NAME)-y := entry.o trace.o \
libudis86/built-in.o

ifeq ($(CONFIG_X86_32),y)
$(NAME)-y += entry_32.o
endif

ifeq ($(CONFIG_X86_64),y)
$(NAME)-y += entry_64.o
endif

all:
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd)

clean:
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean
Loading

0 comments on commit ea6299f

Please sign in to comment.