aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/gpio
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/gpio')
-rw-r--r--sys/modules/gpio/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/gpio/Makefile b/sys/modules/gpio/Makefile
index c46f9aa73cd7..72566692316f 100644
--- a/sys/modules/gpio/Makefile
+++ b/sys/modules/gpio/Makefile
@@ -25,6 +25,10 @@
# SUCH DAMAGE.
#
-SUBDIR = gpiobus gpioiic gpioled gpiopps gpiospi
+SUBDIR = gpiobus gpioiic gpioled gpiospi
+
+.if !empty(OPT_FDT)
+SUBDIR += gpiopps
+.endif
.include <bsd.subdir.mk>