Give aarch64 the "special treatment", since mknative does not include the

target-specific build file.
This commit is contained in:
christos 2018-07-15 16:37:04 +00:00
parent 6e6520b9c5
commit 0b925243f2

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2017/11/15 07:47:40 mrg Exp $ # $NetBSD: Makefile,v 1.12 2018/07/15 16:37:04 christos Exp $
LIBISPRIVATE= yes LIBISPRIVATE= yes
@ -20,6 +20,10 @@ SRCS+= driver-i386.c
SRCS+= driver-rs6000.c SRCS+= driver-rs6000.c
.PATH: ${DIST}/gcc/config/rs6000 .PATH: ${DIST}/gcc/config/rs6000
.endif .endif
.if ${GCC_MACHINE_ARCH} == "aarch64"
SRCS+= driver-aarch64.c
.PATH: ${DIST}/gcc/config/aarch64
.endif
.include "../Makefile.target-defines" .include "../Makefile.target-defines"