Make the bktr module build. The Makefile was badly mangled, including
leaving the ".c" out of most of the SRCS= source files.
This commit is contained in:
parent
e3a285c715
commit
5e6016775c
|
@ -11,19 +11,21 @@
|
|||
|
||||
# $FreeBSD$
|
||||
|
||||
S = ${.CURDIR}/../..
|
||||
S= ${.CURDIR}/../..
|
||||
.PATH: $S/dev/bktr
|
||||
KMOD = bktr
|
||||
SRCS = bktr_core.c bktr_os bktr_audio bktr_tuner bktr_card bktr.h opt_devfs.h opt_bktr.h smbus.h bus_if.h device_if.h pci_if.h vnode_if.h
|
||||
CLEANFILES += bktr.h opt_devfs.h opt_bktr.h smbus.h bus_if.h device_if.h pci_if.h vnode_if.h
|
||||
FLAGS += ${DEBUG_FLAGS}
|
||||
KMOD= bktr
|
||||
SRCS= bktr_core.c bktr_os.c bktr_audio.c bktr_tuner.c bktr_card.c \
|
||||
bktr.h opt_devfs.h opt_bktr.h smbus.h bus_if.h device_if.h \
|
||||
pci_if.h vnode_if.h
|
||||
CLEANFILES += bktr.h opt_devfs.h opt_bktr.h smbus.h bus_if.h device_if.h \
|
||||
pci_if.h vnode_if.h
|
||||
|
||||
bktr.h:
|
||||
echo "#define NBKTR 1" > bktr.h
|
||||
|
||||
# Does not use SMBUS/IICBUS. Uses the old i2c code self contained in
|
||||
# the bt848 driver.
|
||||
smbus.h:
|
||||
# Does not use SMBUS/IICBUS. Uses the old i2c code self contained in
|
||||
# the bt848 driver.
|
||||
echo "#define NSMBUS 0" > smbus.h
|
||||
|
||||
opt_devfs.h:
|
||||
|
|
Loading…
Reference in New Issue