- Timestamp:
- May 8, 2012 8:39:42 PM (13 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 6 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/Makefile.kmk
r41147 r41220 562 562 563 563 564 if defined(VBOX_WITH_DTRACE_R3) \ 565 || defined(VBOX_WITH_DTRACE_R0) \ 566 || defined(VBOX_WITH_DTRACE_RC) 567 # 568 # Install the dtrace library files. 569 # 570 INSTALLS += VMMLibDTrace 571 VMMLibDTrace_INST = $(VBOX_INST_DTRACE_LIB) 572 VMMLibDTrace_SOURCES = \ 573 dtrace/lib/types.d \ 574 dtrace/lib/$(KBUILD_TARGET_ARCH)/types.d=>$(KBUILD_TARGET_ARCH)/types.d \ 575 $(VMMLibDTrace_0_OUTDIR)/vm.d=>$(KBUILD_TARGET_ARCH)/vm.d \ 576 $(VMMLibDTrace_0_OUTDIR)/cpumctx.d=>$(KBUILD_TARGET_ARCH)/cpumctx.d \ 577 578 579 ## 580 # Turn the header $2 into the DTrace library script $1. 581 # 582 define def_vmm_lib_dtrace_preprocess 583 $$$$(VMMLibDTrace_0_OUTDIR)/$1: $2 $$(VBOX_VBOXCPP) | $$$$(dir $$$$@) 584 $$(QUIET)$$(call MSG_GENERATE,VMMLibDTrace,$$@,$$<) 585 $(VBOX_VBOXCPP) -d \ 586 -D VBOX_FOR_DTRACE_LIB \ 587 -D VBOX_FOR_DTRACE_LIB_$(toupper $(KBUILD_TARGET_ARCH)) \ 588 -D RT_C_DECLS_BEGIN= \ 589 -D RT_C_DECLS_END= \ 590 $$(addprefix -D ,$$(DEFS) $$(DEFS.$$(KBUILD_TARGET)) $$(DEFS.$(KBUILD_TARGET_ARCH))) $$< $$@ 591 endef 592 $(evalcall2 def_vmm_lib_dtrace_preprocess,vm.d,$(PATH_ROOT)/include/VBox/vmm/vm.h) 593 $(evalcall2 def_vmm_lib_dtrace_preprocess,cpumctx.d,$(PATH_ROOT)/include/VBox/vmm/cpumctx.h) 594 595 endif 596 597 598 564 599 # 565 600 # For vmmGetSvnRev.
Note:
See TracChangeset
for help on using the changeset viewer.