pwm_backlight: Restrict module to armv7 and aarch64

Both powerpc64 and riscv uses fdt but don't use EXT_RESOURCES.

Reported by:	jenkins
This commit is contained in:
manu 2020-10-02 19:56:54 +00:00
parent 0742d18e6c
commit 65a98c883e

View File

@ -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>