Print this page
HVM-785 kvm-cmd build should use CTFMERGE and CTFCONVERT

Split Close
Expand all
Collapse all
          --- old/./Makefile.target
          +++ new/./Makefile.target
↓ open down ↓ 369 lines elided ↑ open up ↑
 370  370  obj-y += $(addprefix ../, $(common-obj-y))
 371  371  obj-y += $(addprefix ../libdis/, $(libdis-y))
 372  372  obj-y += $(libobj-y)
 373  373  obj-y += $(addprefix $(HWDIR)/, $(hw-obj-y))
 374  374  
 375  375  endif # CONFIG_SOFTMMU
 376  376  
 377  377  obj-y += $(addprefix ../, $(trace-obj-y))
 378  378  obj-$(CONFIG_GDBSTUB_XML) += gdbstub-xml.o
 379  379  
 380      -#
 381      -# Uh, ctfconvert and ctfmerge are in our paths... right... I promise I'll clean
 382      -# this up.
 383      -#
 384  380  
 385  381  ifeq ($(TRACE_BACKEND),dtrace)
 386  382  ifneq ($(strip $(CONFIG_SOLARIS)),)
 387  383  $(QEMU_PROG): $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y)
 388  384          $(call quiet-command, dtrace $(CONFIG_DTRACE_FLAGS) -o ../trace-dtrace.o -s ../trace-dtrace.dtrace -G $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y),"  LINK  $(TARGET_DIR)$@.dtrace")
 389      -        $(call quiet-command, find ../ -type f -name '*.o' -exec ../ctf.sh '{}' \;)
      385 +        $(call CTFCONVERT_CMD)
 390  386          $(call LINK,$(obj-y) $(obj-$(TARGET_BASE_ARCH)-y) ../trace-dtrace.o)
 391      -        $(call CTFMERGE, $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y))
      387 +        $(call CTFMERGE_CMD, $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y))
 392  388  else
 393  389  $(QEMU_PROG): $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y)
 394  390          $(call LINK,$(obj-y) $(obj-$(TARGET_BASE_ARCH)-y))
 395  391  endif
 396  392  else
 397  393  $(QEMU_PROG): $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y)
 398  394          $(call LINK,$(obj-y) $(obj-$(TARGET_BASE_ARCH)-y))
 399  395  endif
 400  396  
 401  397  
↓ open down ↓ 33 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX