6d926aa350aeaa3718b2714cb8cb79b35ebb7fe8
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / kernel / swap / retprobe / Makefile
1 ccflags-y := -Ikernel/swap
2
3 ifeq ($(CONFIG_ARM), y)
4     link = arm
5 endif
6
7 ifeq ($(CONFIG_X86), y)
8     link = x86
9 endif
10
11 ccflags-y += -Ikernel/swap/kprobe/arch/$(link) \
12              -Ikernel/swap/uprobe/arch/$(link)
13
14 obj-$(CONFIG_SWAP_DA) := swap_retprobe.o
15 swap_retprobe-y := \
16     retprobe.o \
17     rp_msg.o