Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 2020 19:56:54 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r366381 - head/sys/modules/pwm
Message-ID:  <202010021956.092Jus8I080666@repo.freebsd.org>

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



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