summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2011-07-07 22:02:18 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2011-07-07 22:02:18 +0000
commitda185c2cab330af9995229af05a33050a18f4556 (patch)
tree43238b61d400dd4e6e90eb256332be4ebf76f272
parenta80ef3ac507861563c0f841b3ca038b6cf007c65 (diff)
change the default target to print a warning, so stray make commands
don't regen syscalls by accident. ok beck deraadt
-rw-r--r--sys/kern/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/kern/Makefile b/sys/kern/Makefile
index f918cdd1338..c76fdb8c6f8 100644
--- a/sys/kern/Makefile
+++ b/sys/kern/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.32 2011/07/07 19:16:42 deraadt Exp $
+# $OpenBSD: Makefile,v 1.33 2011/07/07 22:02:17 tedu Exp $
# Makefile for kernel tags files, init_sysent, etc.
@@ -8,7 +8,10 @@ ARCH= alpha amd64 armish aviion beagle hp300 \
mvme88k palm sgi socppc \
solbourne sparc sparc64 vax zaurus
-all: init_sysent.c
+all:
+ @echo "Doing nothing. Did you want make syscalls?"
+
+syscalls: init_sysent.c
SYSCALLSRC = makesyscalls.sh syscalls.conf syscalls.master
init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscallargs.h: ${SYSCALLSRC}