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