Revision 371c338e Makefile.target

b/Makefile.target
41 41
config-target.h: config-target.h-timestamp
42 42
config-target.h-timestamp: config-target.mak
43 43

  
44
ifdef CONFIG_SYSTEMTAP_TRACE
45
STPFILES+=$(QEMU_PROG).stp
46

  
47
$(QEMU_PROG).stp:
48
	$(call quiet-command,sh $(SRC_PATH)/tracetool \
49
		--$(TRACE_BACKEND) \
50
		--bindir $(bindir) \
51
		--target $(TARGET_ARCH) \
52
		-s < $(SRC_PATH)/trace-events > $@,"  GEN   $@")
53
endif
54

  
55
all: $(PROGS) $(STPFILES)
44
all: $(PROGS)
56 45

  
57 46
# Dummy command so that make thinks it has done something
58 47
	@true
......
360 349
	$(STRIP) $(patsubst %,"$(DESTDIR)$(bindir)/%",$(PROGS))
361 350
endif
362 351
endif
363
ifdef CONFIG_SYSTEMTAP_TRACE
364
	$(INSTALL_DIR) "$(DESTDIR)$(datadir)/../systemtap/tapset"
365
	$(INSTALL_DATA) $(STPFILES) "$(DESTDIR)$(datadir)/../systemtap/tapset"
366
endif
367 352

  
368 353
# Include automatically generated dependency files
369 354
-include $(wildcard *.d */*.d)

Also available in: Unified diff