Add earm/earmeb changes

This commit is contained in:
matt 2012-08-06 07:51:13 +00:00
parent cb8c048ec5
commit 127e888ae2

View File

@ -1,19 +1,27 @@
# $NetBSD: Makefile.inc,v 1.29 2012/08/03 09:11:31 kiyohara Exp $
# $NetBSD: Makefile.inc,v 1.30 2012/08/06 07:51:13 matt Exp $
#
# etc.evbarm/Makefile.inc -- evbarm-specific etc Makefile targets
#
# If you change the list of distributed kernels, don't forget
# to update the release documentation in distrib/notes/common/contents
EVBARM_BOARDS=
.if ${MACHINE_ARCH} == "arm"
# Little endian platforms
EVBARM_BOARDS= ADI_BRH CP3100 GEMINI GUMSTIX INTEGRATOR \
IQ80310 IQ80321 SHEEVAPLUG MINI2440 MV2120 SMDK2410 \
SMDK2800 TEAMASA_NPWR TISDP2420 TS7200 TWINTAIL
.else
# Little endian platforms (armv4 or pre-armv5t)
EVBARM_BOARDS+= ADI_BRH CP3100 GEMINI GUMSTIX INTEGRATOR \
IQ80310 IQ80321 MINI2440 MV2120 SMDK2410 \
SMDK2800 TEAMASA_NPWR TS7200 TWINTAIL
.endif
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm"
# Little endian platforms (armv5t+)
EVBARM_BOARDS+= SHEEVAPLUG TISDP2420
.endif
.if ${MACHINE_ARCH} == "armeb"
# Big endian platforms
EVBARM_BOARDS= ADI_BRH
EVBARM_BOARDS+= ADI_BRH
.endif
.for board in ${EVBARM_BOARDS}
@ -23,8 +31,14 @@ BUILD_KERNELS+= ${board}_INSTALL
.if ${MACHINE_ARCH} == "arm"
# Little endian platforms.
KERNEL_SETS+= IXM1200 HDL_G RPI
.else
KERNEL_SETS+= IXM1200 HDL_G
.endif
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm"
KERNEL_SETS+= BEAGLEBOARD RPI
.endif
.if ${MACHINE_ARCH} == "armeb"
# Big endian platforms.
KERNEL_SETS+= IXM1200 NSLU2
.endif