Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/elftosb/lib Use the fact that all big endian ar...



details:   https://anonhg.NetBSD.org/src/rev/d3a1aa2a7787
branches:  trunk
changeset: 784676:d3a1aa2a7787
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Feb 05 16:57:07 2013 +0000

description:
Use the fact that all big endian arm MACHINE_ARCH end in eb to detect
endianness

diffstat:

 external/bsd/elftosb/lib/Makefile |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (16 lines):

diff -r f23663f8775b -r d3a1aa2a7787 external/bsd/elftosb/lib/Makefile
--- a/external/bsd/elftosb/lib/Makefile Tue Feb 05 16:49:42 2013 +0000
+++ b/external/bsd/elftosb/lib/Makefile Tue Feb 05 16:57:07 2013 +0000
@@ -1,10 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2013/02/05 07:27:02 matt Exp $
-
-.include <bsd.endian.mk>
+# $NetBSD: Makefile,v 1.6 2013/02/05 16:57:07 matt Exp $
 
-.if ${MACHINE} == "evbarm" \
-    && ${MACHINE_CPU} == "arm" \
-    && ${TARGET_ENDIANNESS} == "1234"
+.if ${MACHINE} == "evbarm" && ${MACHINE_ARCH:M*eb} == ""
 
 LIBISPRIVATE=  yes
 LIB=           elftosb



Home | Main Index | Thread Index | Old Index