afa90f2bf5
- convert to using ${EXTERNAL_GCC_SUBDIR} - define base-external-gpl3-gcc* subdir as GCC_SUBDIR - use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly because it arranges for ../Makefile.inc to be included earlier, and don't bother including the latter if the former is already included. - move all .PATH: settings after <bsd.{own,lib}.mk> so that all valid variables are set before it is evaluated - rename mknative-gcc* to match their subdir name. XXX the relationship between the Makefile.inc/Makefile.gcc_path files is kind of sketchy, it would be great if this was fixed.
24 lines
358 B
Makefile
24 lines
358 B
Makefile
# $NetBSD: Makefile,v 1.9 2014/02/26 09:54:32 mrg Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if ${MKBINUTILS} != "no"
|
|
SUBDIR+= binutils
|
|
.endif
|
|
|
|
.if ${MKGCC} != "no"
|
|
.if ${HAVE_GCC} >= 45
|
|
.if ${MKGCCCMDS} != "no"
|
|
SUBDIR+= ${EXTERNAL_GCC_SUBDIR}
|
|
.endif
|
|
.endif
|
|
.endif
|
|
|
|
.if ${MKGDB} != "no"
|
|
.if ${HAVE_GDB} == "7"
|
|
SUBDIR+= gdb
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|