Module Name: src
Committed By: matt
Date: Tue Feb 5 16:57:07 UTC 2013
Modified Files:
src/external/bsd/elftosb/lib: Makefile
Log Message:
Use the fact that all big endian arm MACHINE_ARCH end in eb to detect
endianness
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/elftosb/lib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/elftosb/lib/Makefile
diff -u src/external/bsd/elftosb/lib/Makefile:1.5 src/external/bsd/elftosb/lib/Makefile:1.6
--- src/external/bsd/elftosb/lib/Makefile:1.5 Tue Feb 5 07:27:02 2013
+++ src/external/bsd/elftosb/lib/Makefile Tue Feb 5 16:57:07 2013
@@ -1,10 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2013/02/05 07:27:02 matt Exp $
+# $NetBSD: Makefile,v 1.6 2013/02/05 16:57:07 matt Exp $
-.include <bsd.endian.mk>
-
-.if ${MACHINE} == "evbarm" \
- && ${MACHINE_CPU} == "arm" \
- && ${TARGET_ENDIANNESS} == "1234"
+.if ${MACHINE} == "evbarm" && ${MACHINE_ARCH:M*eb} == ""
LIBISPRIVATE= yes
LIB= elftosb