forked from Minki/linux
e3726304a2
Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
19 lines
598 B
Makefile
19 lines
598 B
Makefile
ccflags-y := -Werror
|
|
|
|
obj-$(CONFIG_OPROFILE) += oprofile.o
|
|
|
|
DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
|
|
oprof.o cpu_buffer.o buffer_sync.o \
|
|
event_buffer.o oprofile_files.o \
|
|
oprofilefs.o oprofile_stats.o \
|
|
timer_int.o )
|
|
|
|
oprofile-y := $(DRIVER_OBJS) common.o
|
|
|
|
oprofile-$(CONFIG_CPU_MIPS32) += op_model_mipsxx.o
|
|
oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o
|
|
oprofile-$(CONFIG_CPU_R10000) += op_model_mipsxx.o
|
|
oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o
|
|
oprofile-$(CONFIG_CPU_RM9000) += op_model_rm9000.o
|
|
oprofile-$(CONFIG_CPU_LOONGSON2) += op_model_loongson2.o
|