From: Arun Thomas Date: Tue, 26 Jul 2011 06:54:32 +0000 (+0200) Subject: Add MKEMBED option X-Git-Tag: v3.2.0~414 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static/man.7.txt?a=commitdiff_plain;h=1d45d57e4064dba04fb19d7f65001e5958c24ae0;p=minix.git Add MKEMBED option --- diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 08fe4f3d8..55814d340 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -772,7 +772,7 @@ _MKVARS.no= \ MKUNPRIVED MKUPDATE MKX11 MKZFS #MINIX-specific vars _MKVARS.no+= \ - MKIMAGEONLY + MKIMAGEONLY MKEMBED .for var in ${_MKVARS.no} ${var}?=no .endfor diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 5466a7920..147abb19c 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -236,6 +236,12 @@ AR?= aal .elif !empty(CC:M*gcc) || !empty(CC:M*clang) || !empty(CC:M*pcc) COMPILER_TYPE=gnu AR?= ar + +.if ${MKEMBED} == "yes" +DBG= -Os +CFLAGS+= -DNDEBUG=1 +.endif + .endif # Set NBSD_LIBC to either "yes" or "no".