summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2009-04-12 03:18:53 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2009-04-12 03:18:53 +0000
commiteead79ee1e534af57a6d2e9f3be6e706aa848102 (patch)
tree4a80e7d2c5bc101f2a203d989380edac5667eaa4 /distrib
parentf1c1ec1fe30bce47617cb5f797ddaa30f6e3ec27 (diff)
Run make depend before trying to build a RAMDISK kernel.
ok deraadt@
Diffstat (limited to 'distrib')
-rw-r--r--distrib/sgi/ramdisk/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/sgi/ramdisk/Makefile b/distrib/sgi/ramdisk/Makefile
index 742b8cd7058..3b3b3957607 100644
--- a/distrib/sgi/ramdisk/Makefile
+++ b/distrib/sgi/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2008/12/02 03:20:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 2009/04/12 03:18:52 jsing Exp $
REV= ${OSrev}
@@ -46,7 +46,7 @@ ${IMAGE}: rd_setup do_files rd_teardown
bsd:
cd ${.TOP}/../../sys/arch/sgi/conf && config RAMDISK
cd ${.TOP}/../../sys/arch/sgi/compile/RAMDISK && \
- ${MAKE} clean && ${MAKE}
+ ${MAKE} clean && ${MAKE} depend && ${MAKE}
cp ${.TOP}/../../sys/arch/sgi/compile/RAMDISK/bsd bsd
rd_setup: