mirror of https://gitee.com/openkylin/qemu.git
trace: [make] replace 'ifeq' with values in CONFIG_TRACE_*
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
This commit is contained in:
parent
6d8a764e0f
commit
09001ee7b2
|
@ -374,16 +374,14 @@ endif
|
|||
|
||||
simpletrace.o: simpletrace.c $(GENERATED_HEADERS)
|
||||
|
||||
ifeq ($(TRACE_BACKEND),dtrace)
|
||||
trace-obj-y = trace-dtrace.o
|
||||
else
|
||||
trace-obj-$(CONFIG_TRACE_DTRACE) += trace-dtrace.o
|
||||
ifneq ($(TRACE_BACKEND),dtrace)
|
||||
trace-obj-y = trace.o
|
||||
ifeq ($(TRACE_BACKEND),simple)
|
||||
trace-obj-y += simpletrace.o
|
||||
trace-obj-y += qemu-timer-common.o
|
||||
endif
|
||||
endif
|
||||
|
||||
trace-obj-$(CONFIG_TRACE_SIMPLE) += simpletrace.o
|
||||
trace-obj-$(CONFIG_TRACE_SIMPLE) += qemu-timer-common.o
|
||||
|
||||
######################################################################
|
||||
# smartcard
|
||||
|
||||
|
|
Loading…
Reference in New Issue