< prev index next >

make/hotspot/lib/JvmDtraceObjects.gmk

Print this page

        

@@ -22,11 +22,11 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
 
 ifeq ($(call check-jvm-feature, dtrace), true)
-  ifeq ($(OPENJDK_TARGET_OS), solaris)
+  ifeq ($(call isTargetOs, solaris), true)
 
     ############################################################################
     # Integrate with libjvm. Here we generate two object files which are
     # linked with libjvm.so. This step is complicated from a dependency
     # perspective. We add these two files to the linking of libjvm using

@@ -129,11 +129,11 @@
         $(call ExecuteWithLog, $(DTRACE_SUPPORT_DIR)/$(@F).d, \
             ($(CPP) $(DTRACE_CPP_FLAGS) -I$(DTRACE_GENSRC_DIR) $^ \
             > $(DTRACE_SUPPORT_DIR)/$(@F).d))
         $(call ExecuteWithLog, $@, $(DTRACE) $(DTRACE_FLAGS) -o $@ \
             -s $(DTRACE_SUPPORT_DIR)/$(@F).d)
-        ifeq ($(OPENJDK_TARGET_CPU_ARCH), sparc)
+        ifeq ($(call isTargetCpuArch, sparc), true)
           $(call ExecuteWithLog, $@.elfedit, $(ELFEDIT) $(call GetElfeditCommands) $@)
         endif
 
   endif
 endif
< prev index next >