Hook uslcom2 up to the build.

This commit is contained in:
thompsa 2009-02-09 22:38:55 +00:00
parent 7c2973ccba
commit 4897aced85
3 changed files with 40 additions and 0 deletions

View File

@ -1623,6 +1623,7 @@ dev/usb2/serial/umct2.c optional usb2_core usb2_serial usb2_serial_mct
dev/usb2/serial/umodem2.c optional usb2_core usb2_serial usb2_serial_modem
dev/usb2/serial/umoscom2.c optional usb2_core usb2_serial usb2_serial_moscom
dev/usb2/serial/uplcom2.c optional usb2_core usb2_serial usb2_serial_plcom
dev/usb2/serial/uslcom2.c optional usb2_core usb2_serial usb2_serial_slcom
dev/usb2/serial/usb2_serial.c optional usb2_core usb2_serial
dev/usb2/serial/uvisor2.c optional usb2_core usb2_serial usb2_serial_visor
dev/usb2/serial/uvscom2.c optional usb2_core usb2_serial usb2_serial_vscom

View File

@ -74,6 +74,7 @@ SUBDIR += serial_mct
SUBDIR += serial_modem
SUBDIR += serial_moscom
SUBDIR += serial_plcom
SUBDIR += serial_slcom
SUBDIR += serial_visor
SUBDIR += serial_vscom
SUBDIR += sound

View File

@ -0,0 +1,38 @@
#
# $FreeBSD$
#
# Copyright (c) 2009 Hans Petter Selasky. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
S=${.CURDIR}/../../..
.PATH: $S/dev/usb2/serial
KMOD=usb2_serial_slcom
SRCS=
SRCS+= bus_if.h usb2_if.h device_if.h vnode_if.h
SRCS+= opt_usb.h opt_bus.h opt_compat.h
SRCS+= uslcom2.c
.include <bsd.kmod.mk>