Source-Changes-HG archive

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

[src/trunk]: src Remove redundant TARGET_ENDIANNESS check



details:   https://anonhg.NetBSD.org/src/rev/6466e59be6a0
branches:  trunk
changeset: 997890:6466e59be6a0
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Mar 30 13:53:19 2019 +0000

description:
Remove redundant TARGET_ENDIANNESS check

diffstat:

 etc/etc.evbarm/Makefile.inc    |  4 ++--
 sys/arch/evbarm/stand/Makefile |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r fc7607f17f58 -r 6466e59be6a0 etc/etc.evbarm/Makefile.inc
--- a/etc/etc.evbarm/Makefile.inc       Sat Mar 30 13:43:52 2019 +0000
+++ b/etc/etc.evbarm/Makefile.inc       Sat Mar 30 13:53:19 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.102 2019/03/30 13:05:24 jmcneill Exp $
+#      $NetBSD: Makefile.inc,v 1.103 2019/03/30 13:53:19 jmcneill Exp $
 #
 #      etc.evbarm/Makefile.inc -- evbarm-specific etc Makefile targets
 #
@@ -180,7 +180,7 @@
 INSTALLATION_DIRS+=    installation/misc
 .endif
 
-.if ${TARGET_ENDIANNESS} == "1234" && !empty(MACHINE_ARCH:Mearmv7hf)
+.if !empty(MACHINE_ARCH:Mearmv7hf)
 smp_efibootarm:
        cd ${KERNSRCDIR}/stand/efiboot/bootarm && ${MAKE} release
 SNAP_MD_POST_DEPS+=    smp_efibootarm
diff -r fc7607f17f58 -r 6466e59be6a0 sys/arch/evbarm/stand/Makefile
--- a/sys/arch/evbarm/stand/Makefile    Sat Mar 30 13:43:52 2019 +0000
+++ b/sys/arch/evbarm/stand/Makefile    Sat Mar 30 13:53:19 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2019/03/30 13:02:16 jmcneill Exp $
+#      $NetBSD: Makefile,v 1.10 2019/03/30 13:54:09 jmcneill Exp $
 
 .include <bsd.endian.mk>
 
@@ -16,7 +16,7 @@
 SUBDIR+= ../../../stand/efiboot/bootaa64
 .endif
 
-.if ${TARGET_ENDIANNESS} == "1234" && ${MACHINE_ARCH} == "earmv7hf"
+.if ${MACHINE_ARCH} == "earmv7hf"
 SUBDIR+= ../../../stand/efiboot/bootarm
 .endif
 



Home | Main Index | Thread Index | Old Index