Better define GATEWAY in opt_gateway.h instead of the Makefile so
UPDATE builds don't go all coocoo.
This commit is contained in:
parent
7e7d6e9069
commit
ead3fc22d6
@ -1,3 +0,0 @@
|
|||||||
/* $NetBSD: opt_gateway.h,v 1.1 2008/10/06 00:27:06 pooka Exp $ */
|
|
||||||
|
|
||||||
/* dummy */
|
|
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: Makefile.inc,v 1.2 2009/02/01 17:05:26 pooka Exp $
|
# $NetBSD: Makefile.inc,v 1.3 2009/02/03 00:33:48 pooka Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../../../netinet
|
.PATH: ${.CURDIR}/../../../../netinet
|
||||||
@ -20,7 +20,6 @@ SRCS+= udp_usrreq.c
|
|||||||
|
|
||||||
CFLAGS+= -Wno-pointer-sign
|
CFLAGS+= -Wno-pointer-sign
|
||||||
CPPFLAGS+= -I${.CURDIR}/opt -I${.CURDIR}/../libnet/opt
|
CPPFLAGS+= -I${.CURDIR}/opt -I${.CURDIR}/../libnet/opt
|
||||||
CPPFLAGS+= -DGATEWAY
|
|
||||||
|
|
||||||
# TCP debugging
|
# TCP debugging
|
||||||
#SRCS+= tcp_debug.c
|
#SRCS+= tcp_debug.c
|
||||||
|
3
sys/rump/net/lib/libnetinet/opt/opt_gateway.h
Normal file
3
sys/rump/net/lib/libnetinet/opt/opt_gateway.h
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
/* $NetBSD: opt_gateway.h,v 1.1 2009/02/03 00:33:48 pooka Exp $ */
|
||||||
|
|
||||||
|
#define GATEWAY
|
Loading…
Reference in New Issue
Block a user