Add MKEMBED option

This commit is contained in:
Arun Thomas 2011-07-26 08:54:32 +02:00
parent 3a69da5f86
commit 1d45d57e40
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

@ -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".