Author: ian
Date: Sun Jun 16 00:53:09 2019
New Revision: 349094
URL: https://svnweb.freebsd.org/changeset/base/349094

Log:
  Add module makefiles for pwm.

Added:
  head/sys/modules/pwm/
  head/sys/modules/pwm/Makefile   (contents, props changed)
  head/sys/modules/pwm/pwmbus/
  head/sys/modules/pwm/pwmbus/Makefile   (contents, props changed)
  head/sys/modules/pwm/pwmc/
  head/sys/modules/pwm/pwmc/Makefile   (contents, props changed)
Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile   Sun Jun 16 00:43:05 2019        (r349093)
+++ head/sys/modules/Makefile   Sun Jun 16 00:53:09 2019        (r349094)
@@ -299,6 +299,7 @@ SUBDIR=     \
        ${_pst} \
        pty  \
        puc \
+       pwm \
        ${_qlxge} \
        ${_qlxgb} \
        ${_qlxgbe} \

Added: head/sys/modules/pwm/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/modules/pwm/Makefile       Sun Jun 16 00:53:09 2019        
(r349094)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+# Modules for dev/pwm drivers.
+
+SUBDIR = \
+       pwmbus \
+       pwmc \
+       
+.include <bsd.subdir.mk>

Added: head/sys/modules/pwm/pwmbus/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/modules/pwm/pwmbus/Makefile        Sun Jun 16 00:53:09 2019        
(r349094)
@@ -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>

Added: head/sys/modules/pwm/pwmc/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/modules/pwm/pwmc/Makefile  Sun Jun 16 00:53:09 2019        
(r349094)
@@ -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>
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to