There are other little endian arm machine_arches other than "arm"
Use MACHINE_CPU and TARGET_ENDIANNESS instead of MACHINE_ARCH
This commit is contained in:
parent
2f0a3a2017
commit
3ba56103bd
|
@ -1,6 +1,11 @@
|
|||
# $NetBSD: Makefile,v 1.4 2012/11/27 20:00:38 jkunz Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2013/02/05 07:27:02 matt Exp $
|
||||
|
||||
.include <bsd.endian.mk>
|
||||
|
||||
.if ${MACHINE} == "evbarm" \
|
||||
&& ${MACHINE_CPU} == "arm" \
|
||||
&& ${TARGET_ENDIANNESS} == "1234"
|
||||
|
||||
.if (${MACHINE} == "evbarm") && (${MACHINE_ARCH} == "arm")
|
||||
LIBISPRIVATE= yes
|
||||
LIB= elftosb
|
||||
SRCS= AESKey.cpp \
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
# $NetBSD: Makefile,v 1.2 2012/11/27 20:00:38 jkunz Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2013/02/05 07:27:03 matt Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
||||
.include <bsd.endian.mk>
|
||||
|
||||
.PATH: ${DIST}/elftosb2
|
||||
|
||||
.if (${MACHINE} == "evbarm") && (${MACHINE_ARCH} == "arm")
|
||||
.if ${MACHINE} == "evbarm" \
|
||||
&& ${MACHINE_CPU} == "arm" \
|
||||
&& ${TARGET_ENDIANNESS} == "1234"
|
||||
|
||||
PROG_CXX= elftosb
|
||||
SRCS= BootImageGenerator.cpp \
|
||||
ConversionController.cpp \
|
||||
|
|
|
@ -1,12 +1,17 @@
|
|||
# $NetBSD: Makefile,v 1.2 2012/11/27 20:00:39 jkunz Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2013/02/05 07:27:03 matt Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
||||
.include <bsd.endian.mk>
|
||||
|
||||
.PATH: ${DIST}/keygen
|
||||
|
||||
.if (${MACHINE} == "evbarm") && (${MACHINE_ARCH} == "arm")
|
||||
.if ${MACHINE} == "evbarm" \
|
||||
&& ${MACHINE_CPU} == "arm" \
|
||||
&& ${TARGET_ENDIANNESS} == "1234"
|
||||
|
||||
PROG_CXX= sbkeygen
|
||||
SRCS= keygen.cpp
|
||||
|
||||
.endif
|
||||
|
||||
MAN= sbkeygen.8
|
||||
|
|
|
@ -1,12 +1,17 @@
|
|||
# $NetBSD: Makefile,v 1.2 2012/11/27 20:00:39 jkunz Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2013/02/05 07:27:03 matt Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
||||
.include <bsd.endian.mk>
|
||||
|
||||
.PATH: ${DIST}/sbtool
|
||||
|
||||
.if (${MACHINE} == "evbarm") && (${MACHINE_ARCH} == "arm")
|
||||
.if ${MACHINE} == "evbarm" \
|
||||
&& ${MACHINE_CPU} == "arm" \
|
||||
&& ${TARGET_ENDIANNESS} == "1234"
|
||||
|
||||
PROG_CXX= sbtool
|
||||
SRCS= EncoreBootImageReader.cpp sbtool.cpp
|
||||
|
||||
.endif
|
||||
|
||||
MAN= sbtool.8
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
# $NetBSD: Makefile,v 1.4 2012/11/27 20:00:39 jkunz Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2013/02/05 07:28:19 matt Exp $
|
||||
|
||||
.include <bsd.endian.mk>
|
||||
|
||||
SUBDIR+= gzboot
|
||||
SUBDIR+= boot2440
|
||||
.if ${MACHINE_ARCH} == "arm"
|
||||
.if ${MACHINE_CPU} == "arm" && ${TARGET_ENDIANNESS} == "1234"
|
||||
# According to the i.MX23 Reference Manual section 3.1, Page 3-3:
|
||||
# "The i.MX23 always operates in litle-endian mode."
|
||||
SUBDIR+= bootimx23
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.10 2012/06/02 20:50:41 skrll Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2013/02/05 07:28:19 matt Exp $
|
||||
|
||||
.if ${MACHINE_ARCH} == "arm"
|
||||
.include <bsd.endian.mk>
|
||||
|
||||
.if ${MACHINE_CPU} == "arm" && ${TARGET_ENDIANNESS} == "1234"
|
||||
# Little endian platforms
|
||||
SUBDIR= ADI_BRH_flash_0x00140000
|
||||
SUBDIR+= GEMINI_dram_0x01600000
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.166 2013/01/31 15:22:50 pooka Exp $
|
||||
# $NetBSD: Makefile,v 1.167 2013/02/05 07:27:02 matt Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include <bsd.endian.mk>
|
||||
|
||||
# Make sure that the ordered build/install processing applies when using
|
||||
# plain make.
|
||||
|
@ -196,7 +197,9 @@ SUBDIR+= amiga-txlt
|
|||
SUBDIR+= hp300-mkboot
|
||||
.endif
|
||||
|
||||
.if ${MACHINE} == "evbarm" && ${MACHINE_ARCH} == "arm"
|
||||
.if ${MACHINE} == "evbarm" \
|
||||
&& ${MACHINE_CPU} == "arm" \
|
||||
&& ${TARGET_ENDIANNESS} == "1234"
|
||||
SUBDIR+= elftosb
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue