Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Wang Nan | 6624cf6 | 2015-01-05 19:29:21 +0800 | [diff] [blame] | 2 | obj-$(CONFIG_KPROBES) += core.o actions-common.o checkers-common.o |
Wang Nan | fca08f3 | 2015-01-09 10:19:49 +0800 | [diff] [blame] | 3 | obj-$(CONFIG_ARM_KPROBES_TEST) += test-kprobes.o |
| 4 | test-kprobes-objs := test-core.o |
| 5 | |
| 6 | ifdef CONFIG_THUMB2_KERNEL |
Wang Nan | 6624cf6 | 2015-01-05 19:29:21 +0800 | [diff] [blame] | 7 | obj-$(CONFIG_KPROBES) += actions-thumb.o checkers-thumb.o |
Wang Nan | fca08f3 | 2015-01-09 10:19:49 +0800 | [diff] [blame] | 8 | test-kprobes-objs += test-thumb.o |
| 9 | else |
Wang Nan | 6624cf6 | 2015-01-05 19:29:21 +0800 | [diff] [blame] | 10 | obj-$(CONFIG_KPROBES) += actions-arm.o checkers-arm.o |
Wang Nan | 0dc016d | 2015-01-09 14:37:36 +0800 | [diff] [blame] | 11 | obj-$(CONFIG_OPTPROBES) += opt-arm.o |
Wang Nan | fca08f3 | 2015-01-09 10:19:49 +0800 | [diff] [blame] | 12 | test-kprobes-objs += test-arm.o |
| 13 | endif |