Changeset View
Changeset View
Standalone View
Standalone View
share/mk/local.dirdeps.mk
Show All 32 Lines | |||||
N_host_libs:= ${cd ${SRCTOP} && echo lib/lib*:L:sh:${_need_host_libs:${M_ListToSkip}}:${M_ListToSkip}} | N_host_libs:= ${cd ${SRCTOP} && echo lib/lib*:L:sh:${_need_host_libs:${M_ListToSkip}}:${M_ListToSkip}} | ||||
DIRDEPS_FILTER.host = \ | DIRDEPS_FILTER.host = \ | ||||
${N_host_libs} \ | ${N_host_libs} \ | ||||
Ninclude* \ | Ninclude* \ | ||||
Nlib/csu* \ | Nlib/csu* \ | ||||
Nlib/libc \ | Nlib/libc \ | ||||
Nlib/[mn]* \ | Nlib/[mn]* \ | ||||
Ngnu/lib/csu* \ | |||||
Ngnu/lib/lib[a-r]* \ | Ngnu/lib/lib[a-r]* \ | ||||
Nsecure/lib* \ | Nsecure/lib* \ | ||||
Nusr.bin/xinstall* \ | Nusr.bin/xinstall* \ | ||||
DIRDEPS_FILTER+= \ | DIRDEPS_FILTER+= \ | ||||
Nbin/cat.host \ | Nbin/cat.host \ | ||||
${DIRDEPS_FILTER.xtras:U} | ${DIRDEPS_FILTER.xtras:U} | ||||
▲ Show 20 Lines • Show All 164 Lines • ▼ Show 20 Lines | |||||
.endif # ${DEP_MACHINE} != "host" | .endif # ${DEP_MACHINE} != "host" | ||||
.if ${MK_STAGING} == "yes" | .if ${MK_STAGING} == "yes" | ||||
# we need targets/pseudo/stage to prep the stage tree | # we need targets/pseudo/stage to prep the stage tree | ||||
.if ${DEP_RELDIR} != "targets/pseudo/stage" | .if ${DEP_RELDIR} != "targets/pseudo/stage" | ||||
DIRDEPS += targets/pseudo/stage | DIRDEPS += targets/pseudo/stage | ||||
.endif | .endif | ||||
.endif | |||||
# this one is too pervasive | |||||
.if ${MK_BSD_CRTBEGIN} == "no" && ${DEP_RELDIR:N.:Ngnu/lib/csu:Ninclude*:Ntargets/*} != "" | |||||
DIRDEPS+= gnu/lib/csu | |||||
.endif | .endif | ||||
DEP_MACHINE_ARCH = ${MACHINE_ARCH.${DEP_MACHINE}} | DEP_MACHINE_ARCH = ${MACHINE_ARCH.${DEP_MACHINE}} | ||||
CSU_DIR.${DEP_MACHINE_ARCH} ?= csu/${DEP_MACHINE_ARCH} | CSU_DIR.${DEP_MACHINE_ARCH} ?= csu/${DEP_MACHINE_ARCH} | ||||
CSU_DIR := ${CSU_DIR.${DEP_MACHINE_ARCH}} | CSU_DIR := ${CSU_DIR.${DEP_MACHINE_ARCH}} | ||||
BOOT_MACHINE_DIR:= ${BOOT_MACHINE_DIR.${DEP_MACHINE}} | BOOT_MACHINE_DIR:= ${BOOT_MACHINE_DIR.${DEP_MACHINE}} | ||||
KERNEL_NAME:= ${KERNEL_NAME.${DEP_MACHINE}} | KERNEL_NAME:= ${KERNEL_NAME.${DEP_MACHINE}} |