PERFORCE change 207139 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Thu Mar 1 02:16:43 UTC 2012


http://p4web.freebsd.org/@@207139?ac=10

Change 207139 by gonzo at gonzo_thinkpad on 2012/03/01 02:16:40

	- Build dtrace tools for cross-build

Affected files ...

.. //depot/projects/dtrace-mips/Makefile.inc1#4 edit

Differences ...

==== //depot/projects/dtrace-mips/Makefile.inc1#4 (text+ko) ====

@@ -1054,9 +1054,11 @@
 	usr.bin/clang/clang-tblgen
 .endif
 
+# dtrace tools are required for older bootstrap env and cross-build
 .if ${MK_CDDL} != "no" && \
-    ${BOOTSTRAPPING} < 800038 && \
-    !(${BOOTSTRAPPING} >= 700112 && ${BOOTSTRAPPING} < 799999)
+    ((${BOOTSTRAPPING} < 800038 && \
+          !(${BOOTSTRAPPING} >= 700112 && ${BOOTSTRAPPING} < 799999)) \
+      || (${MACHINE} != ${TARGET} || ${MACHINE_ARCH} != ${TARGET_ARCH}))
 _dtrace_tools= cddl/usr.bin/sgsmsg cddl/lib/libctf lib/libelf \
     lib/libdwarf cddl/usr.bin/ctfconvert cddl/usr.bin/ctfmerge
 .endif


More information about the p4-projects mailing list