Add GPIO class

This class is used for accessing a GPIO via the
/dev/gpiochipX interface.

It requests a GPIO line handle from the GPIO device to
do the actual operation on.

The GPIO number to use, for AST chips at least, is the
actual GPIO number, such as GPIOA0 = 0 and GPIOA7 = 7.

The class currently only supports writes.

Change-Id: I1c2ae38c23c5db502d5f14bcf9aa2e35094f1e9b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/gpio-util/Makefile.am b/gpio-util/Makefile.am
index ea8c763..9bdc42d 100644
--- a/gpio-util/Makefile.am
+++ b/gpio-util/Makefile.am
@@ -5,4 +5,11 @@
 	phosphor-gpio-util
 
 phosphor_gpio_util_SOURCES = \
+	gpio.cpp \
 	main.cpp
+
+phosphor_gpio_util_LDADD = \
+	$(PHOSPHOR_LOGGING_LIBS)
+
+phosphor_gpio_util_CXXFLAGS = \
+	$(PHOSPHOR_LOGGING_CFLAGS)