Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2019 00:53:10 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349094 - in head/sys/modules: . pwm pwm/pwmbus pwm/pwmc
Message-ID:  <201906160053.x5G0rAd7077937@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906160053.x5G0rAd7077937>