From a69df4077e3ef29043688b39856bf759f4d519fa Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 27 May 2016 01:14:35 +0000 Subject: [PATCH] Only build gpio modules on armv6, until it's known that they can be built succesfully on other arches. --- sys/modules/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 54796b0ecb69..b2b3b174e634 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -125,7 +125,7 @@ SUBDIR= \ geom \ ${_glxiic} \ ${_glxsb} \ - gpio \ + ${_gpio} \ hatm \ hifn \ hme \ @@ -733,6 +733,10 @@ _cfi= cfi _cpsw= cpsw .endif +.if ${MACHINE_ARCH} == "armv6" +_gpio= gpio +.endif + .if ${MACHINE_CPUARCH} == "powerpc" _agp= agp _an= an