2013-10-12 23:48:21 +00:00
|
|
|
# supress optional/auto dependecies
|
2012-08-22 19:25:57 +00:00
|
|
|
# local.dirdeps.mk will put them in if necessary
|
2013-10-12 23:48:21 +00:00
|
|
|
GENDIRDEPS_FILTER+= \
|
|
|
|
Ngnu/lib/libssp/libssp_nonshared \
|
|
|
|
Ncddl/usr.bin/ctf* \
|
2014-05-16 15:00:30 +00:00
|
|
|
Nlib/clang/include \
|
|
|
|
Nlib/libc_nonshared \
|
|
|
|
Npkgs/pseudo/stage* \
|
|
|
|
Ntools/*
|
|
|
|
|
|
|
|
.if ${RELDIR:Mpkgs*} == ""
|
|
|
|
GENDIRDEPS_FILTER+= \
|
|
|
|
Nusr.bin/clang/clang.host \
|
|
|
|
Ngnu/usr.bin/cc* \
|
|
|
|
|
|
|
|
.endif
|
2012-08-22 19:25:57 +00:00
|
|
|
|
|
|
|
# gendirdeps.mk will turn _{VAR} into ${VAR} which keeps this simple
|
2013-10-12 23:48:21 +00:00
|
|
|
# order of this list matters!
|
|
|
|
GENDIRDEPS_FILTER_DIR_VARS+= \
|
|
|
|
CSU_DIR \
|
|
|
|
BOOT_MACHINE_DIR
|
2012-08-22 19:25:57 +00:00
|
|
|
|
2013-10-12 23:48:21 +00:00
|
|
|
# order of this list matters!
|
|
|
|
GENDIRDEPS_FILTER_VARS+= \
|
|
|
|
KERNEL_NAME \
|
|
|
|
MACHINE_CPUARCH \
|
|
|
|
MACHINE_ARCH \
|
|
|
|
MACHINE
|
|
|
|
|
|
|
|
GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_DIR_VARS:@v@S,${$v},_{${v}},@}
|
|
|
|
GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_VARS:@v@S,/${$v}/,/_{${v}}/,@:NS,//,*:u}
|
|
|
|
|
|
|
|
# handle the non-standard way that gnu/usr.bin/groff/tmac is staged
|
|
|
|
GENDIRDEPS_FILTER+= C,.*usr/share/tmac.*stage,gnu/usr.bin/groff/tmac,
|
2012-08-22 19:25:57 +00:00
|
|
|
|