aboutsummaryrefslogtreecommitdiff
path: root/share/mk/local.gendirdeps.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/local.gendirdeps.mk')
-rw-r--r--share/mk/local.gendirdeps.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/share/mk/local.gendirdeps.mk b/share/mk/local.gendirdeps.mk
new file mode 100644
index 000000000000..88c11e9db194
--- /dev/null
+++ b/share/mk/local.gendirdeps.mk
@@ -0,0 +1,10 @@
+# supress optional dependecies
+# local.dirdeps.mk will put them in if necessary
+GENDIRDEPS_FILTER+= Ngnu/lib/libssp/libssp_nonshared
+
+# gendirdeps.mk will turn _{VAR} into ${VAR} which keeps this simple
+GENDIRDEPS_FILTER+= ${CSU_DIR:L:@v@S,/${$v},/_{${v}},@}
+
+# this could easily get confused
+GENDIRDEPS_FILTER+= ${MACHINE_CPUARCH MACHINE_CPU MACHINE_ARCH MACHINE:L:@v@S,/${$v}/,/_{${v}}/,@:NS,//,*:u}
+