diff options
author | thompsa <thompsa@FreeBSD.org> | 2005-06-05 03:32:53 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2005-06-05 03:32:53 +0000 |
commit | e8bfe6c2484cd442ddb34018bd3819dd264ce091 (patch) | |
tree | e8a945a182303d69c5dda0c9dee1231a515c6530 /sys/modules | |
parent | 6c5bdda300f45e4abacd6f3dbf4663bbfdfefa35 (diff) | |
download | FreeBSD-src-e8bfe6c2484cd442ddb34018bd3819dd264ce091.zip FreeBSD-src-e8bfe6c2484cd442ddb34018bd3819dd264ce091.tar.gz |
Connect if_bridge to the build.
Approved by: mlaier (mentor)
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/if_bridge/Makefile | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index e27a13d..4d1cc2a 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -98,6 +98,7 @@ SUBDIR= ${_3dfx} \ ${_ida} \ ${_idt} \ ${_ie} \ + if_bridge \ if_disc \ if_ef \ if_faith \ diff --git a/sys/modules/if_bridge/Makefile b/sys/modules/if_bridge/Makefile new file mode 100644 index 0000000..8af88f8 --- /dev/null +++ b/sys/modules/if_bridge/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../net +KMOD= if_bridge +SRCS= if_bridge.c bridgestp.c opt_inet.h opt_inet6.h + +opt_inet.h: + echo "#define INET 1" > ${.TARGET} + +opt_inet6.h: +.if defined(NOINET6) + echo > ${.TARGET} +.else + echo "#define INET6 1" > ${.TARGET} +.endif + +.include <bsd.kmod.mk> |