2012-08-22 19:25:57 +00:00
|
|
|
|
2013-03-17 03:06:49 +00:00
|
|
|
.if ${DEP_MACHINE} != "host"
|
|
|
|
|
2012-08-22 19:25:57 +00:00
|
|
|
# this is how we can handle optional dependencies
|
|
|
|
.if ${MK_SSP:Uno} != "no" && defined(PROG)
|
|
|
|
DIRDEPS += gnu/lib/libssp/libssp_nonshared
|
|
|
|
.endif
|
2013-03-06 18:35:57 +00:00
|
|
|
|
2013-03-17 03:06:49 +00:00
|
|
|
.endif
|
|
|
|
|
2013-03-06 18:35:57 +00:00
|
|
|
# we need pkgs/pseudo/stage to prep the stage tree
|
|
|
|
.if ${DEP_RELDIR:U${RELDIR}} != "pkgs/pseudo/stage"
|
|
|
|
DIRDEPS += pkgs/pseudo/stage
|
|
|
|
.endif
|
2013-03-12 17:21:03 +00:00
|
|
|
|
2013-05-11 00:51:59 +00:00
|
|
|
M_dep_qual_fixes += C;\.host,[^/.,]*$$;.host;
|
|
|
|
M_dep_qual_fixes += C;\.common,[^/.,]*$$;.common;
|
|
|
|
|
|
|
|
CSU_DIR.i386 = csu/i386-elf
|
|
|
|
CSU_DIR.${DEP_MACHINE_ARCH} ?= csu/${DEP_MACHINE_ARCH}
|
|
|
|
CSU_DIR := ${CSU_DIR.${DEP_MACHINE_ARCH}}
|
|
|
|
|
2013-03-12 17:21:03 +00:00
|
|
|
# we want to supress these dependencies for host tools
|
2013-03-17 01:51:23 +00:00
|
|
|
DIRDEPS_FILTER.host = \
|
2013-03-12 17:21:03 +00:00
|
|
|
Ninclude* \
|
2013-03-15 20:19:18 +00:00
|
|
|
Nlib/lib* \
|
|
|
|
Nlib/csu* \
|
|
|
|
Nlib/[mn]* \
|
|
|
|
Ngnu/lib/csu* \
|
|
|
|
Ngnu/lib/lib[a-r]* \
|
2013-03-12 17:21:03 +00:00
|
|
|
|