2018-07-26 04:25:23 +03:00
|
|
|
# $NetBSD: Makefile,v 1.37 2018/07/26 01:25:23 kamil Exp $
|
2018-06-16 21:58:00 +03:00
|
|
|
|
2018-07-26 04:25:23 +03:00
|
|
|
NOLIBCSANITIZER= # defined
|
2018-06-16 21:58:00 +03:00
|
|
|
NOSANITIZER= # defined
|
1996-10-08 04:36:28 +04:00
|
|
|
|
1999-02-03 13:55:12 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2013-09-10 20:45:33 +04:00
|
|
|
CSU_MACHINE_ARCH?= ${MACHINE_ARCH}
|
2014-08-11 03:25:49 +04:00
|
|
|
CSU_MACHINE_CPU?= ${MACHINE_CPU}
|
2013-09-10 20:45:33 +04:00
|
|
|
|
|
|
|
.if !empty(CSU_MACHINE_ARCH:Mearm*)
|
|
|
|
ARCHDIR:= ${.CURDIR}/arch/earm
|
|
|
|
.elif exists(${.CURDIR}/arch/${CSU_MACHINE_ARCH}/Makefile.inc)
|
|
|
|
ARCHDIR:= ${.CURDIR}/arch/${CSU_MACHINE_ARCH}
|
2014-08-11 03:25:49 +04:00
|
|
|
.elif exists(${.CURDIR}/arch/${CSU_MACHINE_CPU}/Makefile.inc)
|
|
|
|
ARCHDIR:= ${.CURDIR}/arch/${CSU_MACHINE_CPU}
|
2012-06-16 22:19:39 +04:00
|
|
|
.else
|
2014-08-11 03:25:49 +04:00
|
|
|
.error Architecture (${CSU_MACHINE_ARCH} or ${CSU_MACHINE_CPU}) unsupported
|
2012-06-16 22:19:39 +04:00
|
|
|
.endif
|
|
|
|
|
2012-06-16 23:19:14 +04:00
|
|
|
|
2010-08-07 22:01:32 +04:00
|
|
|
.PATH: ${ARCHDIR}
|
2014-04-22 17:20:58 +04:00
|
|
|
.include "${ARCHDIR}/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/common/Makefile.inc"
|