arm: allwinner: aw_pwm: compile it as module too

MFC after:	1 month
This commit is contained in:
Emmanuel Vadot 2019-04-25 18:44:03 +00:00
parent 3de3007594
commit 16de4430fe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346698
2 changed files with 16 additions and 0 deletions

View File

@ -2,6 +2,7 @@
# Build modules specific to Allwinner.
SUBDIR = \
aw_pwm \
aw_rtc \
aw_rsb \
aw_sid \

View File

@ -0,0 +1,15 @@
# $FreeBSD$
.PATH: ${SRCTOP}/sys/arm/allwinner
KMOD= aw_pwm
SRCS= aw_pwm.c
SRCS+= \
bus_if.h \
clknode_if.h \
device_if.h \
ofw_bus_if.h \
pwm_if.h
.include <bsd.kmod.mk>