summaryrefslogtreecommitdiff
path: root/arch/microblaze/Makefile
diff options
context:
space:
mode:
authorJohn Williams <john.williams@petalogix.com>2009-11-24 13:27:54 +0300
committerMichal Simek <monstr@monstr.eu>2009-12-14 10:45:07 +0300
commit3540ce8238c2d29a2a20a1876575c0064d0da23e (patch)
tree7fc4eee9652b894fdb454eb2572d747da5944b85 /arch/microblaze/Makefile
parent33d9ff5985ff015cbaaef85285d19fe580487cf3 (diff)
downloadlinux-3540ce8238c2d29a2a20a1876575c0064d0da23e.tar.xz
microblaze: Core oprofile configs and hooks
Microblaze uses timer interrupt mode. Microblaze don't have any performance counter that's why we use just simple implementation. Signed-off-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/Makefile')
-rw-r--r--arch/microblaze/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile
index 34187354304a..d2d6cfcb1a30 100644
--- a/arch/microblaze/Makefile
+++ b/arch/microblaze/Makefile
@@ -51,6 +51,8 @@ core-y += arch/microblaze/kernel/
core-y += arch/microblaze/mm/
core-y += arch/microblaze/platform/
+drivers-$(CONFIG_OPROFILE) += arch/microblaze/oprofile/
+
boot := arch/microblaze/boot
# Are we making a simpleImage.<boardname> target? If so, crack out the boardname