binutils gprof doesn't support mips. Build a.out gprof on mips, to support
kernel profiling.
This commit is contained in:
parent
1f23f4e047
commit
e67b964e28
|
@ -1,9 +1,9 @@
|
|||
# $NetBSD: Makefile,v 1.24 1998/09/27 17:22:11 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.25 1998/11/07 17:52:19 jonathan Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/29/93
|
||||
|
||||
.include <bsd.own.mk> # for OBJECT_FMT definition
|
||||
|
||||
.if (${OBJECT_FMT} == "a.out")
|
||||
.if (${OBJECT_FMT} == "a.out") || (${MACHINE_ARCH} == "mips")
|
||||
PROG= gprof
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue