1 1.38 pgoyette # $NetBSD: Makefile,v 1.38 2019/01/27 02:08:35 pgoyette Exp $ 2 1.38 pgoyette 3 1.38 pgoyette NOLIBCSANITIZER= # defined 4 1.38 pgoyette NOSANITIZER= # defined 5 1.36 kamil 6 1.37 kamil NOLIBCSANITIZER= # defined 7 1.36 kamil NOSANITIZER= # defined 8 1.6 cgd 9 1.13 christos .include <bsd.own.mk> 10 1.13 christos 11 1.33 matt CSU_MACHINE_ARCH?= ${MACHINE_ARCH} 12 1.35 matt CSU_MACHINE_CPU?= ${MACHINE_CPU} 13 1.33 matt 14 1.33 matt .if !empty(CSU_MACHINE_ARCH:Mearm*) 15 1.33 matt ARCHDIR:= ${.CURDIR}/arch/earm 16 1.33 matt .elif exists(${.CURDIR}/arch/${CSU_MACHINE_ARCH}/Makefile.inc) 17 1.33 matt ARCHDIR:= ${.CURDIR}/arch/${CSU_MACHINE_ARCH} 18 1.35 matt .elif exists(${.CURDIR}/arch/${CSU_MACHINE_CPU}/Makefile.inc) 19 1.35 matt ARCHDIR:= ${.CURDIR}/arch/${CSU_MACHINE_CPU} 20 1.30 joerg .else 21 1.35 matt .error Architecture (${CSU_MACHINE_ARCH} or ${CSU_MACHINE_CPU}) unsupported 22 1.30 joerg .endif 23 1.28 skrll 24 1.31 joerg 25 1.27 joerg .PATH: ${ARCHDIR} 26 1.34 joerg .include "${ARCHDIR}/Makefile.inc" 27 1.34 joerg .include "${.CURDIR}/common/Makefile.inc" 28