sh: Add SH7750S/SH7091 rules for SH7750 oprofile driver.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 05:30:11 +0000 (14:30 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 05:30:11 +0000 (14:30 +0900)
Update oprofile build rules for additional subtypes,
particularly SH7750S/SH7091.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/oprofile/Makefile

index 686738d4aa3c295fe511878ec82cb99f69b400c8..1f25d9bb7538a511d3d9ff8d9d4dc88658d84b97 100644 (file)
@@ -7,7 +7,11 @@ DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
                timer_int.o )
 
 profdrvr-y                             := op_model_null.o
+
+# SH7750-style performance counters exist across 7750/7750S and 7091.
+profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750S) := op_model_sh7750.o
 profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750)  := op_model_sh7750.o
+profdrvr-$(CONFIG_CPU_SUBTYPE_SH7091)  := op_model_sh7750.o
 
 oprofile-y                             := $(DRIVER_OBJS) $(profdrvr-y)