4 MARKER_CFLAGS
:= -DCALL
="__mark_$(TARGET)_call" -DJUMP_OVER
="__mark_$(TARGET)_jump_over"
5 MARKER_CFLAGS
+= -DJUMP_CALL
="__mark_$(TARGET)_jump_call" -DJUMP_INLINE
="__mark_$(TARGET)_jump_inline"
7 EXTRA_CFLAGS
+= $(MARKER_CFLAGS
)
9 ifneq ($(KERNELRELEASE
),)
11 obj-m
+= marker-loader.o
14 KERNELDIR ?
= /lib
/modules
/$(shell uname
-r
)/build
16 KERNELRELEASE
= $(shell cat
$(KERNELDIR
)/$(KBUILD_OUTPUT
)/include/linux
/version.h | sed
-n
's/.*UTS_RELEASE.*\"\(.*\)\".*/\1/p')
17 ifneq ($(INSTALL_MOD_PATH
),)
18 DEPMOD_OPT
:= -b
$(INSTALL_MOD_PATH
)
22 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules
25 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules_install
26 if
[ -f
$(KERNELDIR
)/$(KBUILD_OUTPUT
)/System.map
] ; then
/sbin
/depmod
-ae
-F
$(KERNELDIR
)/$(KBUILD_OUTPUT
)/System.map
$(DEPMOD_OPT
) $(KERNELRELEASE
) ; fi
30 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) clean
This page took 0.02828 seconds and 4 git commands to generate.