diff options
Diffstat (limited to 'sys/arch/loongson/Makefile')
-rw-r--r-- | sys/arch/loongson/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
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 |