local.gendirdeps.mk (7750ad47a9a7dbc83f87158464170c8640723293) local.gendirdeps.mk (04667c47607e3dd1770a6cc3e37bdaddaf8cfcb6)
1# supress optional dependecies
1# supress optional/auto dependecies
2# local.dirdeps.mk will put them in if necessary
2# local.dirdeps.mk will put them in if necessary
3GENDIRDEPS_FILTER+= Ngnu/lib/libssp/libssp_nonshared
3GENDIRDEPS_FILTER+= \
4 Ngnu/lib/libssp/libssp_nonshared \
5 Ncddl/usr.bin/ctf* \
6 Npkgs/pseudo/stage*
4
5# gendirdeps.mk will turn _{VAR} into ${VAR} which keeps this simple
7
8# gendirdeps.mk will turn _{VAR} into ${VAR} which keeps this simple
6GENDIRDEPS_FILTER+= ${CSU_DIR:L:@v@S,/${$v},/_{${v}},@}
9# order of this list matters!
10GENDIRDEPS_FILTER_DIR_VARS+= \
11 CSU_DIR \
12 BOOT_MACHINE_DIR
7
13
8# this could easily get confused
9GENDIRDEPS_FILTER+= ${MACHINE_CPUARCH MACHINE_CPU MACHINE_ARCH MACHINE:L:@v@S,/${$v}/,/_{${v}}/,@:NS,//,*:u}
14# order of this list matters!
15GENDIRDEPS_FILTER_VARS+= \
16 KERNEL_NAME \
17 MACHINE_CPUARCH \
18 MACHINE_ARCH \
19 MACHINE
10
20
21GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_DIR_VARS:@v@S,${$v},_{${v}},@}
22GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_VARS:@v@S,/${$v}/,/_{${v}}/,@:NS,//,*:u}
23
24# handle the non-standard way that gnu/usr.bin/groff/tmac is staged
25GENDIRDEPS_FILTER+= C,.*usr/share/tmac.*stage,gnu/usr.bin/groff/tmac,
26