summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/wrtvid/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme88k/stand/wrtvid/Makefile.inc')
-rw-r--r--sys/arch/mvme88k/stand/wrtvid/Makefile.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/arch/mvme88k/stand/wrtvid/Makefile.inc b/sys/arch/mvme88k/stand/wrtvid/Makefile.inc
new file mode 100644
index 00000000000..a8c47af8bd7
--- /dev/null
+++ b/sys/arch/mvme88k/stand/wrtvid/Makefile.inc
@@ -0,0 +1,12 @@
+WRTVID_BASE_DIR=${S}/arch/${MACHINE}/stand/wrtvid
+
+WRTVID_DIR!= cd ${WRTVID_BASE_DIR}; \
+ printf "xxx:\n\techo \$${.OBJDIR}\n" | ${MAKE} -r -s -f - xxx
+
+WRTVID=${WRTVID_DIR}/wrtvid
+
+$(WRTVID): .NOTMAIN __always_make_WRTVID
+ @echo making sure the wrtvid is up to date...
+ @(cd ${WRTVID_BASE_DIR}; ${MAKE})
+
+__always_make_WRTVID: .NOTMAIN