svn commit: r366381 - head/sys/modules/pwm
Emmanuel Vadot
manu at FreeBSD.org
Fri Oct 2 19:56:55 UTC 2020
Author: manu
Date: Fri Oct 2 19:56:54 2020
New Revision: 366381
URL: https://svnweb.freebsd.org/changeset/base/366381
Log:
pwm_backlight: Restrict module to armv7 and aarch64
Both powerpc64 and riscv uses fdt but don't use EXT_RESOURCES.
Reported by: jenkins
Modified:
head/sys/modules/pwm/Makefile
Modified: head/sys/modules/pwm/Makefile
==============================================================================
--- head/sys/modules/pwm/Makefile Fri Oct 2 19:16:06 2020 (r366380)
+++ head/sys/modules/pwm/Makefile Fri Oct 2 19:56:54 2020 (r366381)
@@ -6,8 +6,10 @@ SUBDIR = \
pwmbus \
pwmc \
+.if ${MACHINE_ARCH} == "armv7" || ${MACHINE_ARCH} == "aarch64"
.if !empty(OPT_FDT)
SUBDIR += pwm_backlight
+.endif
.endif
.include <bsd.subdir.mk>
More information about the svn-src-head
mailing list