aboutsummaryrefslogtreecommitdiff
path: root/sim/moxie/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sim/moxie/local.mk')
-rw-r--r--sim/moxie/local.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/moxie/local.mk b/sim/moxie/local.mk
index cd57f56..600d264 100644
--- a/sim/moxie/local.mk
+++ b/sim/moxie/local.mk
@@ -30,3 +30,10 @@ dtb_DATA = %D%/moxie-gdb.dtb
echo "tree compiler tool (dtc) is missing. Install the tool to "; \
echo "update the device tree blob."; \
fi
+
+# Rule to create the .dirstamp file (on which moxie-gdb.dtb depends)
+# as automake fails to automatically create this rule for _DATA items.
+%D%/$(am__dirstamp):
+ @$(MKDIR_P) %D%
+ @: >%D%/$(am__dirstamp)
+DISTCLEANFILES += %D%/$(am__dirstamp)