Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Use ${MACHINE_CPU} == "arm" to test for ARMishness.
details: https://anonhg.NetBSD.org/src/rev/86ea11a032d9
branches: trunk
changeset: 508727:86ea11a032d9
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Wed Apr 18 17:35:36 2001 +0000
description:
Use ${MACHINE_CPU} == "arm" to test for ARMishness.
diffstat:
bin/sh/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r e0a4f4ff10df -r 86ea11a032d9 bin/sh/Makefile
--- a/bin/sh/Makefile Wed Apr 18 16:04:43 2001 +0000
+++ b/bin/sh/Makefile Wed Apr 18 17:35:36 2001 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.51 2000/12/29 16:30:31 bjh21 Exp $
+# $NetBSD: Makefile,v 1.52 2001/04/18 17:35:36 bjh21 Exp $
# @(#)Makefile 8.4 (Berkeley) 5/5/95
+.include <bsd.own.mk>
+
WARNS=2
YHEADER=1
PROG= sh
@@ -47,8 +49,7 @@
${HOST_LINK.c} -o mknodes ${.IMPSRC}
.if (${MACHINE_ARCH} == "powerpc") || \
- (${MACHINE_ARCH} == "arm32") || \
- (${MACHINE_ARCH} == "arm26")
+ (${MACHINE_CPU} == "arm")
TARGET_CHARFLAG= -DTARGET_CHAR="u_int8_t"
.else
TARGET_CHARFLAG= -DTARGET_CHAR="int8_t"
Home |
Main Index |
Thread Index |
Old Index