Skip to content

Commit

Permalink
Merge pull request TritonDataCenter#1 from citrus-it/ctf
Browse files Browse the repository at this point in the history
OS-7566 Clean up qemu use of old CTF tools
  • Loading branch information
hadfl authored Feb 14, 2019
2 parents 83e8c98 + 5a6d4f2 commit a624fbb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 34 deletions.
3 changes: 1 addition & 2 deletions Makefile.target
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,8 @@ ifeq ($(TRACE_BACKEND),dtrace)
ifneq ($(strip $(CONFIG_SOLARIS)),)
$(QEMU_PROG): $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y)
$(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")
$(call CTFCONVERT_CMD)
$(call LINK,$(obj-y) $(obj-$(TARGET_BASE_ARCH)-y) ../trace-dtrace.o)
$(call CTFMERGE_CMD, $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y))
$(call CTFCONVERT_CMD, $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y))
else
$(QEMU_PROG): $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y)
$(call LINK,$(obj-y) $(obj-$(TARGET_BASE_ARCH)-y))
Expand Down
29 changes: 0 additions & 29 deletions ctf.sh

This file was deleted.

4 changes: 1 addition & 3 deletions rules.mak
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ QEMU_DGFLAGS += -MMD -MP -MT $@ -MF $(*D)/$(*F).d

LINK = $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $(1) $(LIBS)," LINK $(TARGET_DIR)$@")

CTFMERGE_CMD = $(call quiet-command, $(CTFMERGE) -L VERSION -o $@ $(1)," CTFMERGE $(TARGET_DIR)$@")

CTFCONVERT_CMD = $(call quiet-command, CTFCONVERT=$(CTFCONVERT) find ../ -type f -name '*.o' -exec ../ctf.sh '{}' \;)
CTFCONVERT_CMD = $(call quiet-command, $(CTFCONVERT) -L VERSION -o $@ $@," CTFCONVERT $(TARGET_DIR)$@")

ifeq ($(TRACE_BACKEND),dtrace)
ifneq ($(strip $(CONFIG_SOLARIS)),)
Expand Down

0 comments on commit a624fbb

Please sign in to comment.