Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/lib/libdtrace Use MACHINE_CPU instead of...
details: https://anonhg.NetBSD.org/src/rev/afbf971cd423
branches: trunk
changeset: 327749:afbf971cd423
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Sun Mar 16 06:51:43 2014 +0000
description:
Use MACHINE_CPU instead of MACHINE_ARCH with pattern matching
Include bsd.own.mk to use MACHINE_CPU.
Advised by matt@
diffstat:
external/cddl/osnet/lib/libdtrace/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 9af8dcccbbd1 -r afbf971cd423 external/cddl/osnet/lib/libdtrace/Makefile
--- a/external/cddl/osnet/lib/libdtrace/Makefile Sun Mar 16 05:49:41 2014 +0000
+++ b/external/cddl/osnet/lib/libdtrace/Makefile Sun Mar 16 06:51:43 2014 +0000
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2014/03/16 05:11:19 ozaki-r Exp $
+# $NetBSD: Makefile,v 1.9 2014/03/16 06:51:43 ozaki-r Exp $
# $FreeBSD: src/cddl/lib/libdtrace/Makefile,v 1.2.2.1 2009/08/03 08:13:06 kensmith Exp $
+.include <bsd.own.mk>
+
.include "../../Makefile.inc"
LIB= dtrace
@@ -86,7 +88,7 @@
CPPFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/intel
.elif ${MACHINE_ARCH} == "sparc64"
CPPFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/sparc
-.elif !empty(MACHINE_ARCH:M*arm*)
+.elif ${MACHINE_CPU} == "arm"
CPPFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/arm
.PATH: ${.CURDIR}/../../dist/lib/libdtrace/arm
SRCS+= dt_isadep.c
Home |
Main Index |
Thread Index |
Old Index