1 # $NetBSD: Makefile,v 1.35 2014/08/10 23:25:49 matt Exp $
7 .
endif # defined(__MINIX)
9 CSU_MACHINE_ARCH?
= ${MACHINE_ARCH}
10 CSU_MACHINE_CPU?
= ${MACHINE_CPU}
12 .if
!empty
(CSU_MACHINE_ARCH
:Mearm
*)
13 ARCHDIR
:= ${.CURDIR
}/arch
/earm
14 .elif exists
(${.CURDIR
}/arch
/${CSU_MACHINE_ARCH}/Makefile.inc
)
15 ARCHDIR
:= ${.CURDIR
}/arch
/${CSU_MACHINE_ARCH}
16 .elif exists
(${.CURDIR
}/arch
/${CSU_MACHINE_CPU}/Makefile.inc
)
17 ARCHDIR
:= ${.CURDIR
}/arch
/${CSU_MACHINE_CPU}
19 .error Architecture
(${CSU_MACHINE_ARCH} or
${CSU_MACHINE_CPU}) unsupported
24 .
include "${ARCHDIR}/Makefile.inc"
25 .
include "${.CURDIR}/common/Makefile.inc"