Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Wow, I was more confused still. The former bsd.endi...



details:   https://anonhg.NetBSD.org/src/rev/140d894700e3
branches:  trunk
changeset: 559313:140d894700e3
user:      soren <soren%NetBSD.org@localhost>
date:      Sun Mar 14 20:43:20 2004 +0000

description:
Wow, I was more confused still. The former bsd.endian.mk wasn't actually
using the little/big values.
I wonder how this happened to work..

diffstat:

 share/mk/bsd.endian.mk |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r c8dd5b562475 -r 140d894700e3 share/mk/bsd.endian.mk
--- a/share/mk/bsd.endian.mk    Sun Mar 14 20:11:24 2004 +0000
+++ b/share/mk/bsd.endian.mk    Sun Mar 14 20:43:20 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.endian.mk,v 1.8 2004/03/13 13:07:37 skrll Exp $
+#      $NetBSD: bsd.endian.mk,v 1.9 2004/03/14 20:43:20 soren Exp $
 
 .if !defined(_BSD_ENDIAN_MK_)
 _BSD_ENDIAN_MK_=1
@@ -13,7 +13,7 @@
     ${MACHINE_ARCH} == "ns32k" || \
     ${MACHINE_ARCH} == "sh5el" || \
     ${MACHINE_ARCH} == "vax"
-TARGET_ENDIANNESS=     little
+TARGET_ENDIANNESS=     1234
 .elif ${MACHINE_ARCH} == "armeb" || \
       ${MACHINE_ARCH} == "hppa" || \
       ${MACHINE_ARCH} == "m68k" || \
@@ -22,9 +22,7 @@
       ${MACHINE_ARCH} == "sh5eb" || \
       ${MACHINE_ARCH} == "sparc" || \
       ${MACHINE_ARCH} == "sparc64"
-TARGET_ENDIANNESS=     big
-.else
-TARGET_ENDIANNESS=     unknown
+TARGET_ENDIANNESS=     4321
 .endif
 
 .endif  # !defined(_BSD_ENDIAN_MK_)



Home | Main Index | Thread Index | Old Index