Add module makefiles for pwm.

This commit is contained in:
Ian Lepore 2019-06-16 00:53:09 +00:00
parent e3384e8c44
commit e108c3df04
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349094
4 changed files with 48 additions and 0 deletions

View File

@ -299,6 +299,7 @@ SUBDIR= \
${_pst} \
pty \
puc \
pwm \
${_qlxge} \
${_qlxgb} \
${_qlxgbe} \

9
sys/modules/pwm/Makefile Normal file
View File

@ -0,0 +1,9 @@
# $FreeBSD$
# Modules for dev/pwm drivers.
SUBDIR = \
pwmbus \
pwmc \
.include <bsd.subdir.mk>

View 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>

View 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>