Home | History | Annotate | Line # | Download | only in etc.evbarm
Makefile.inc revision 1.35
      1  1.35  christos #	$NetBSD: Makefile.inc,v 1.35 2013/02/09 18:49:55 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.35  christos EVBARM_BOARDS+=		ADI_BRH BCM5301X 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.34      matt .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm"
     20  1.30      matt # Little endian platforms (armv5t+)
     21  1.35  christos EVBARM_BOARDS+=		BEAGLEBOARD OPENRD SHEEVAPLUG TISDP2420
     22  1.30      matt .endif
     23  1.30      matt 
     24  1.30      matt .if ${MACHINE_ARCH} == "armeb"
     25  1.13   thorpej # Big endian platforms
     26  1.30      matt EVBARM_BOARDS+=		ADI_BRH
     27  1.13   thorpej .endif
     28  1.13   thorpej 
     29  1.13   thorpej .for board in ${EVBARM_BOARDS}
     30  1.12   thorpej KERNEL_SETS+=		${board}
     31  1.12   thorpej BUILD_KERNELS+=		${board}_INSTALL
     32  1.12   thorpej .endfor
     33  1.12   thorpej 
     34  1.13   thorpej .if ${MACHINE_ARCH} == "arm"
     35  1.13   thorpej # Little endian platforms.
     36  1.30      matt KERNEL_SETS+=		IXM1200 HDL_G
     37  1.30      matt .endif
     38  1.30      matt 
     39  1.35  christos .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm"
     40  1.32   msaitoh KERNEL_SETS+=		RPI
     41  1.35  christos RPI.kernel=		${KERNSRCDIR}/arch/evbarm/compile/RPI/kernel.img
     42  1.35  christos RPI.img=		${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg/rpi.img
     43  1.35  christos snap_md_post:
     44  1.35  christos 	TOOL_MAKEFS=${TOOL_MAKEFS} \
     45  1.35  christos 	TOOL_DISKLABEL=${TOOL_DISKLABEL} \
     46  1.35  christos 	TOOL_FDISK=${TOOL_FDISK} \
     47  1.35  christos 	${MKIMAGE} -x -h rpi -D ${DESTDIR} -K ${RPI.kernel} \
     48  1.35  christos 	    -S ${NETBSDSRCDIR} ${RPI.img}
     49  1.30      matt .endif
     50  1.30      matt 
     51  1.30      matt .if ${MACHINE_ARCH} == "armeb"
     52  1.13   thorpej # Big endian platforms.
     53  1.17       scw KERNEL_SETS+=		IXM1200 NSLU2
     54  1.13   thorpej .endif
     55  1.12   thorpej 
     56  1.29  kiyohara KERNEL_SUFFIXES=	bin srec ub
     57   1.6   thorpej 
     58   1.9     lukem INSTALLATION_DIRS+=	binary/gzimg		\
     59   1.7   thorpej 			installation/instkernel
     60  1.35  christos 
     61