summaryrefslogtreecommitdiffstats
path: root/arch/arc/Makefile
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-01-22 17:02:38 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-02-15 23:16:00 +0530
commit769bc1fd7b8591a312d4c5c8834bc6510272938e (patch)
tree72ce15497ddabc58e492a0f489d1a6a08639f06b /arch/arc/Makefile
parent01b812bcce4920d9587fab7a964493d368be1522 (diff)
ARC: OProfile support
Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Robert Richter <rric@kernel.org> Cc: oprofile-list@lists.sf.net Reviewed-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/arc/Makefile')
-rw-r--r--arch/arc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index 5c98fc19d99..642c0406d60 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -100,6 +100,8 @@ ifneq ($(platform-y),)
core-y += arch/arc/plat-$(PLATFORM)/
endif
+drivers-$(CONFIG_OPROFILE) += arch/arc/oprofile/
+
libs-y += arch/arc/lib/ $(LIBGCC)
#default target for make without any arguements.