summaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
Diffstat (limited to 'mach')
-rw-r--r--mach/Machrules9
1 files changed, 9 insertions, 0 deletions
diff --git a/mach/Machrules b/mach/Machrules
index b5a6622691..c52db8e961 100644
--- a/mach/Machrules
+++ b/mach/Machrules
@@ -44,6 +44,15 @@ endif
include ../Makeconfig
+# This makefile contains a lot of implicit rules that get optimized
+# away if the target directory does not exist.
+ifndef no_deps
+-include $(objpfx)dummy.mk
+endif
+$(objpfx)dummy.mk:
+ $(make-target-directory)
+ echo '# Empty' > $@
+
MIGFLAGS = -DMACH_IPC_COMPAT=0 -DSTANDALONE -DTypeCheck=0 \
$(+includes) $(migdefines) -subrprefix __