Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/sets Add an arch64 flag for use by mips set lists (a...
details: https://anonhg.NetBSD.org/src/rev/eaa652e94836
branches: trunk
changeset: 786529:eaa652e94836
user: matt <matt%NetBSD.org@localhost>
date: Tue Apr 30 20:54:22 2013 +0000
description:
Add an arch64 flag for use by mips set lists (and powerpc)
diffstat:
distrib/sets/mkvars.mk | 22 ++++++++++++++++------
1 files changed, 16 insertions(+), 6 deletions(-)
diffs (50 lines):
diff -r 033e9d5c0326 -r eaa652e94836 distrib/sets/mkvars.mk
--- a/distrib/sets/mkvars.mk Tue Apr 30 20:45:41 2013 +0000
+++ b/distrib/sets/mkvars.mk Tue Apr 30 20:54:22 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mkvars.mk,v 1.9 2013/04/30 16:26:26 matt Exp $
+# $NetBSD: mkvars.mk,v 1.10 2013/04/30 20:54:22 matt Exp $
MKEXTRAVARS= \
MACHINE \
@@ -26,7 +26,9 @@
USE_YP \
NETBSDSRCDIR \
MAKEVERBOSE \
- TARGET_ENDIANNESS
+ TARGET_ENDIANNESS \
+ EABI \
+ ARCH64
#####
@@ -49,6 +51,18 @@
. endif
.endif
+.if (!empty(MACHINE_ARCH:Mearm*))
+EABI=yes
+.else
+EABI=no
+.endif
+
+.if (!empty(MACHINE_ARCH:M*64*) || ${MACHINE_ARCH} == alpha)
+ARCH64=yes
+.else
+ARCH64=no
+.endif
+
#####
mkvars: mkvarsyesno mkextravars mksolaris .PHONY
@@ -66,10 +80,6 @@
@echo $i="${$i}"
.endfor
-.if (!empty(MACHINE_ARCH:Mearm*))
- @echo EABI=yes
-.endif
-
mksolaris: .PHONY
.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
@echo MKSOLARIS="yes"
Home |
Main Index |
Thread Index |
Old Index