Home | History | Annotate | Line # | Download | only in etc.evbarm
Makefile.inc revision 1.38
      1  1.38  christos #	$NetBSD: Makefile.inc,v 1.38 2013/02/10 01:24:40 christos Exp $
      2   1.1   thorpej #
      3   1.1   thorpej #	etc.evbarm/Makefile.inc -- evbarm-specific etc Makefile targets
      4   1.1   thorpej #
      5   1.1   thorpej 
      6  1.35  christos MKIMAGE= ${NETBSDSRCDIR}/distrib/utils/embedded/mkimage
      7  1.35  christos 
      8  1.21     pavel # If you change the list of distributed kernels, don't forget
      9  1.21     pavel # to update the release documentation in distrib/notes/common/contents
     10  1.30      matt EVBARM_BOARDS=
     11  1.21     pavel 
     12  1.13   thorpej .if ${MACHINE_ARCH} == "arm"
     13  1.30      matt # Little endian platforms (armv4 or pre-armv5t)
     14  1.36  christos EVBARM_BOARDS+=		ADI_BRH CP3100 GEMINI GUMSTIX INTEGRATOR \
     15  1.30      matt 			IQ80310 IQ80321 MINI2440 MV2120 SMDK2410 \
     16  1.30      matt 			SMDK2800 TEAMASA_NPWR TS7200 TWINTAIL
     17  1.30      matt .endif
     18  1.30      matt 
     19  1.36  christos .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm" \
     20  1.36  christos     || ${MACHINE_ARCH} == "earmhf"
     21  1.36  christos # Little endian platforms with VFP
     22  1.36  christos EVBARM_BOARDS+=		BCM5301X BEAGLEBOARD BEAGLEBOARDXM BEAGLEBONE TISDP2420
     23  1.36  christos .endif
     24  1.34      matt .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm"
     25  1.30      matt # Little endian platforms (armv5t+)
     26  1.36  christos EVBARM_BOARDS+=		OPENRD SHEEVAPLUG
     27  1.30      matt .endif
     28  1.30      matt 
     29  1.30      matt .if ${MACHINE_ARCH} == "armeb"
     30  1.13   thorpej # Big endian platforms
     31  1.30      matt EVBARM_BOARDS+=		ADI_BRH
     32  1.13   thorpej .endif
     33  1.13   thorpej 
     34  1.13   thorpej .for board in ${EVBARM_BOARDS}
     35  1.12   thorpej KERNEL_SETS+=		${board}
     36  1.12   thorpej BUILD_KERNELS+=		${board}_INSTALL
     37  1.12   thorpej .endfor
     38  1.12   thorpej 
     39  1.13   thorpej .if ${MACHINE_ARCH} == "arm"
     40  1.13   thorpej # Little endian platforms.
     41  1.30      matt KERNEL_SETS+=		IXM1200 HDL_G
     42  1.30      matt .endif
     43  1.30      matt 
     44  1.36  christos .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm" \
     45  1.36  christos     || ${MACHINE_ARCH} == "earmhf"
     46  1.38  christos EXTRA_KERNELS+=		RPI
     47  1.37  christos RPI.rel=		${RELEASEDIR}/${RELEASEMACHINEDIR}
     48  1.38  christos RPI.kernel=		${RPI.rel}/binary/kernel/netbsd-RPI.bin.gz
     49  1.38  christos RPI.img=		${RPI.rel}/binary/gzimg/rpi.img.gz
     50  1.35  christos snap_md_post:
     51  1.35  christos 	TOOL_MAKEFS=${TOOL_MAKEFS} \
     52  1.35  christos 	TOOL_DISKLABEL=${TOOL_DISKLABEL} \
     53  1.35  christos 	TOOL_FDISK=${TOOL_FDISK} \
     54  1.35  christos 	${MKIMAGE} -x -h rpi -D ${DESTDIR} -K ${RPI.kernel} \
     55  1.35  christos 	    -S ${NETBSDSRCDIR} ${RPI.img}
     56  1.30      matt .endif
     57  1.30      matt 
     58  1.30      matt .if ${MACHINE_ARCH} == "armeb"
     59  1.13   thorpej # Big endian platforms.
     60  1.17       scw KERNEL_SETS+=		IXM1200 NSLU2
     61  1.13   thorpej .endif
     62  1.12   thorpej 
     63  1.29  kiyohara KERNEL_SUFFIXES=	bin srec ub
     64   1.6   thorpej 
     65   1.9     lukem INSTALLATION_DIRS+=	binary/gzimg		\
     66   1.7   thorpej 			installation/instkernel
     67