summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-14 14:07:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-14 14:07:09 +0000
commit8e4ff341776e248f3b84ce0033e33109e67e060f (patch)
tree796227e5fc0fff4fd727e7769f269404229837f5 /sys/arch/octeon
parent6ea34e8d76621b3a07963243bade30421938e9d4 (diff)
Instead of using COPTS=-Oz (and similar) in make environment to force
tightly-built ramdisk kernels, set the option in per-arch Makefile.inc based upon SMALL_KERNEL
Diffstat (limited to 'sys/arch/octeon')
-rw-r--r--sys/arch/octeon/conf/Makefile.octeon3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/octeon/conf/Makefile.octeon b/sys/arch/octeon/conf/Makefile.octeon
index b0f6aee3e21..03e049f0d80 100644
--- a/sys/arch/octeon/conf/Makefile.octeon
+++ b/sys/arch/octeon/conf/Makefile.octeon
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.octeon,v 1.52 2019/01/14 16:27:19 visa Exp $
+# $OpenBSD: Makefile.octeon,v 1.53 2019/04/14 14:07:07 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -42,6 +42,7 @@ CMACHFLAGS+= -fno-stack-protector
.endif
.if ${IDENT:M-DSMALL_KERNEL}
SORTR= cat
+COPTS?= -Oz
.endif
DEBUG?= -g