From 65a98c883eb2f1e7c07c31208d65362035c864e6 Mon Sep 17 00:00:00 2001 From: manu Date: Fri, 2 Oct 2020 19:56:54 +0000 Subject: [PATCH] pwm_backlight: Restrict module to armv7 and aarch64 Both powerpc64 and riscv uses fdt but don't use EXT_RESOURCES. Reported by: jenkins --- sys/modules/pwm/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/modules/pwm/Makefile b/sys/modules/pwm/Makefile index da7c80e8e6b..2d1b07724ca 100644 --- a/sys/modules/pwm/Makefile +++ b/sys/modules/pwm/Makefile @@ -6,8 +6,10 @@ SUBDIR = \ pwmbus \ pwmc \ +.if ${MACHINE_ARCH} == "armv7" || ${MACHINE_ARCH} == "aarch64" .if !empty(OPT_FDT) SUBDIR += pwm_backlight .endif +.endif .include -- 2.45.0