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 MKUNPRIVED MKUPDATE MKX11 MKZFS
#MINIX-specific vars #MINIX-specific vars
_MKVARS.no+= \ _MKVARS.no+= \
MKIMAGEONLY MKIMAGEONLY MKEMBED
.for var in ${_MKVARS.no} .for var in ${_MKVARS.no}
${var}?=no ${var}?=no
.endfor .endfor

View file

@ -236,6 +236,12 @@ AR?= aal
.elif !empty(CC:M*gcc) || !empty(CC:M*clang) || !empty(CC:M*pcc) .elif !empty(CC:M*gcc) || !empty(CC:M*clang) || !empty(CC:M*pcc)
COMPILER_TYPE=gnu COMPILER_TYPE=gnu
AR?= ar AR?= ar
.if ${MKEMBED} == "yes"
DBG= -Os
CFLAGS+= -DNDEBUG=1
.endif
.endif .endif
# Set NBSD_LIBC to either "yes" or "no". # Set NBSD_LIBC to either "yes" or "no".