summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/alpha/Makefile9
-rw-r--r--sys/arch/amd64/Makefile9
-rw-r--r--sys/arch/arm64/Makefile9
-rw-r--r--sys/arch/armv7/Makefile9
-rw-r--r--sys/arch/hppa/Makefile9
-rw-r--r--sys/arch/i386/Makefile9
-rw-r--r--sys/arch/landisk/Makefile9
-rw-r--r--sys/arch/loongson/Makefile9
-rw-r--r--sys/arch/luna88k/Makefile9
-rw-r--r--sys/arch/macppc/Makefile9
-rw-r--r--sys/arch/octeon/Makefile8
-rw-r--r--sys/arch/sgi/Makefile9
-rw-r--r--sys/arch/socppc/Makefile9
-rw-r--r--sys/arch/sparc64/Makefile9
14 files changed, 97 insertions, 28 deletions
diff --git a/sys/arch/alpha/Makefile b/sys/arch/alpha/Makefile
index 59905a2471b..c4c4b0339b5 100644
--- a/sys/arch/alpha/Makefile
+++ b/sys/arch/alpha/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.13 2016/10/14 18:42:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.14 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/amd64/Makefile b/sys/arch/amd64/Makefile
index e07dd88fa92..e95c8d56242 100644
--- a/sys/arch/amd64/Makefile
+++ b/sys/arch/amd64/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.11 2016/10/14 18:42:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.12 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/arm64/Makefile b/sys/arch/arm64/Makefile
index 946d2c82abc..a3a042bb576 100644
--- a/sys/arch/arm64/Makefile
+++ b/sys/arch/arm64/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.1 2016/12/17 23:38:33 patrick Exp $
+# $OpenBSD: Makefile,v 1.2 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/armv7/Makefile b/sys/arch/armv7/Makefile
index 749b3d6025e..b97064e6927 100644
--- a/sys/arch/armv7/Makefile
+++ b/sys/arch/armv7/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.5 2016/10/14 18:42:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/hppa/Makefile b/sys/arch/hppa/Makefile
index cb643a39fa9..e9994b2669a 100644
--- a/sys/arch/hppa/Makefile
+++ b/sys/arch/hppa/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.12 2016/10/14 18:42:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.13 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/i386/Makefile b/sys/arch/i386/Makefile
index 5a29eb95dce..a93edc8acb2 100644
--- a/sys/arch/i386/Makefile
+++ b/sys/arch/i386/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.22 2016/10/14 18:42:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.23 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/landisk/Makefile b/sys/arch/landisk/Makefile
index 8d2a6022abf..0b4007d73f6 100644
--- a/sys/arch/landisk/Makefile
+++ b/sys/arch/landisk/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.9 2016/10/14 18:42:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.10 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/loongson/Makefile b/sys/arch/loongson/Makefile
index 373a7cd0d96..11014006a23 100644
--- a/sys/arch/loongson/Makefile
+++ b/sys/arch/loongson/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.8 2016/10/14 18:42:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.9 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/luna88k/Makefile b/sys/arch/luna88k/Makefile
index 2d04d9a82df..0c719ddd08c 100644
--- a/sys/arch/luna88k/Makefile
+++ b/sys/arch/luna88k/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.13 2016/10/14 18:42:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.14 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/macppc/Makefile b/sys/arch/macppc/Makefile
index eac34cca820..92d453ad316 100644
--- a/sys/arch/macppc/Makefile
+++ b/sys/arch/macppc/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.12 2016/10/14 18:42:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.13 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/octeon/Makefile b/sys/arch/octeon/Makefile
index cda6b5d3709..c6964fd88cf 100644
--- a/sys/arch/octeon/Makefile
+++ b/sys/arch/octeon/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.7 2016/10/14 18:42:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,9 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= compile
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/sgi/Makefile b/sys/arch/sgi/Makefile
index 8fd1e04fa30..32e35ebf871 100644
--- a/sys/arch/sgi/Makefile
+++ b/sys/arch/sgi/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.10 2016/10/14 18:42:59 deraadt Exp $
+# $OpenBSD: Makefile,v 1.11 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC-IP30
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/socppc/Makefile b/sys/arch/socppc/Makefile
index 9099e50b19e..684cb8c0451 100644
--- a/sys/arch/socppc/Makefile
+++ b/sys/arch/socppc/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.10 2016/10/14 18:42:59 deraadt Exp $
+# $OpenBSD: Makefile,v 1.11 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables
diff --git a/sys/arch/sparc64/Makefile b/sys/arch/sparc64/Makefile
index 534a6c7af13..977491ef955 100644
--- a/sys/arch/sparc64/Makefile
+++ b/sys/arch/sparc64/Makefile
@@ -1,4 +1,6 @@
-# $OpenBSD: Makefile,v 1.9 2016/10/14 18:42:59 deraadt Exp $
+# $OpenBSD: Makefile,v 1.10 2017/01/22 03:27:31 tb Exp $
+
+.include <bsd.own.mk> # for KEEPKERNELS
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -11,7 +13,10 @@ TAGS= ${.CURDIR}/tags
NOPROG=
NOMAN=
NOOBJ=
-SUBDIR= stand compile
+SUBDIR= stand
+.if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
+SUBDIR+=compile
+.endif
# config the fattest kernel we can find into a temporary dir
# to create a Makefile. Then use make to pull some variables