Home | History | Annotate | Line # | Download | only in csu
Makefile revision 1.34
      1  1.34     joerg #	$NetBSD: Makefile,v 1.34 2014/04/22 13:20:58 joerg Exp $
      2   1.6       cgd 
      3  1.13  christos .include <bsd.own.mk>
      4  1.13  christos 
      5  1.33      matt CSU_MACHINE_ARCH?=	${MACHINE_ARCH}
      6  1.33      matt 
      7  1.33      matt .if !empty(CSU_MACHINE_ARCH:Mearm*)
      8  1.33      matt ARCHDIR:=	${.CURDIR}/arch/earm
      9  1.33      matt .elif exists(${.CURDIR}/arch/${CSU_MACHINE_ARCH}/Makefile.inc)
     10  1.33      matt ARCHDIR:=	${.CURDIR}/arch/${CSU_MACHINE_ARCH}
     11  1.30     joerg .elif exists(${.CURDIR}/arch/${MACHINE_CPU}/Makefile.inc)
     12  1.33      matt ARCHDIR:=	${.CURDIR}/arch/${MACHINE_CPU}
     13  1.30     joerg .else
     14  1.33      matt .error Architecture (${CSU_MACHINE_ARCH} or ${MACHINE_CPU}) unsupported
     15  1.30     joerg .endif
     16  1.28     skrll 
     17  1.31     joerg 
     18  1.27     joerg .PATH:	${ARCHDIR}
     19  1.34     joerg .include "${ARCHDIR}/Makefile.inc"
     20  1.34     joerg .include "${.CURDIR}/common/Makefile.inc"
     21