summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/Makefile')
-rw-r--r--drivers/gpio/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 369e4fc432e3..c3da03975d58 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -2,3 +2,5 @@
ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG
+obj-$(CONFIG_HAVE_GPIO_LIB) += gpiolib.o
+
OpenPOWER on IntegriCloud