- WARNSfy

- add src/common/dist/zlib to incpath for build without DESTDIR
This commit is contained in:
tsutsui 2009-01-12 07:45:24 +00:00
parent 9eb4d00797
commit b4d6984248
2 changed files with 7 additions and 3 deletions

View File

@ -1,8 +1,10 @@
/* $NetBSD: nullcom.c,v 1.1 2008/11/10 20:30:12 cliff Exp $ */
/* $NetBSD: nullcom.c,v 1.2 2009/01/12 07:45:24 tsutsui Exp $ */
/*
* nulldev-like console stubs for quiet gzboot
*/
#include <lib/libsa/stand.h>
#include "board.h"
void
cons_init(void)

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.gzboot,v 1.14 2006/01/16 19:34:53 he Exp $
# $NetBSD: Makefile.gzboot,v 1.15 2009/01/12 07:45:24 tsutsui Exp $
NOMAN= # defined
@ -34,6 +34,7 @@ STARTFILE= srtbegin.o
CPPFLAGS+= -nostdinc -I. -I${EVBARM_STAND}/gzboot -I${EVBARM_STAND}/board
CPPFLAGS+= -I${S} -I${S}/arch -I${S}/lib/libsa
CPPFLAGS+= -I${S}/../common/dist/zlib
CPPFLAGS+= -D_STANDALONE
@ -48,7 +49,8 @@ CPPFLAGS+= -DMAXIMAGESIZE=${MAXIMAGESIZE}
CPPFLAGS+= -DLOADADDR=${LOADADDR}
COPTS+= -ffreestanding
CWARNFLAGS+= -Wno-main
CWARNFLAGS+= -Werror
CWARNFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
CLEANFILES+= ${STARTFILE} vers.c ${BASE}.list
CLEANFILES+= ${PROGSYM}