Add module makefiles for pwm.
This commit is contained in:
parent
e3384e8c44
commit
e108c3df04
@ -299,6 +299,7 @@ SUBDIR= \
|
||||
${_pst} \
|
||||
pty \
|
||||
puc \
|
||||
pwm \
|
||||
${_qlxge} \
|
||||
${_qlxgb} \
|
||||
${_qlxgbe} \
|
||||
|
9
sys/modules/pwm/Makefile
Normal file
9
sys/modules/pwm/Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# Modules for dev/pwm drivers.
|
||||
|
||||
SUBDIR = \
|
||||
pwmbus \
|
||||
pwmc \
|
||||
|
||||
.include <bsd.subdir.mk>
|
20
sys/modules/pwm/pwmbus/Makefile
Normal file
20
sys/modules/pwm/pwmbus/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${SRCTOP}/sys/dev/pwm
|
||||
|
||||
KMOD= pwmbus
|
||||
SRCS= pwmbus.c
|
||||
|
||||
.if !empty(OPT_FDT)
|
||||
SRCS+= ofw_pwm.c ofw_bus_if.h
|
||||
.endif
|
||||
|
||||
# Generated files...
|
||||
SRCS+= \
|
||||
bus_if.h \
|
||||
device_if.h \
|
||||
opt_platform.h \
|
||||
pwmbus_if.c \
|
||||
pwmbus_if.h \
|
||||
|
||||
.include <bsd.kmod.mk>
|
18
sys/modules/pwm/pwmc/Makefile
Normal file
18
sys/modules/pwm/pwmc/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${SRCTOP}/sys/dev/pwm
|
||||
KMOD= pwmc
|
||||
SRCS= pwmc.c
|
||||
|
||||
# Generated files...
|
||||
SRCS+= \
|
||||
bus_if.h \
|
||||
device_if.h \
|
||||
opt_platform.h \
|
||||
pwmbus_if.h \
|
||||
|
||||
.if !empty(OPT_FDT)
|
||||
SRCS+= ofw_bus_if.h
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
x
Reference in New Issue
Block a user