diff options
| author | Manuel Traut <manut@mecka.net> | 2013-01-15 01:29:22 +0100 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2013-01-15 01:29:22 +0100 |
| commit | 7dd28a3fa96564bb4135a1c4dc936e5824c4c2e7 (patch) | |
| tree | d536a7f8a10a235a5d2f493ea5824570f89b3986 /io/bin/generic_gpio/Makefile | |
| parent | 3dfb4cefed51c9cc4dd5879bfe63cc835aaf1568 (diff) | |
generic_gpio: make it really generic
use libgpio for gpio access
use config file for selecting and configuring gpios
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'io/bin/generic_gpio/Makefile')
| -rw-r--r-- | io/bin/generic_gpio/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/io/bin/generic_gpio/Makefile b/io/bin/generic_gpio/Makefile index 0528035..4fc8bd2 100644 --- a/io/bin/generic_gpio/Makefile +++ b/io/bin/generic_gpio/Makefile @@ -13,9 +13,12 @@ LDFLAGS += -L$(DISTRIO_COMMON) -ldistrio_common \ -L$(DISTRIO_IO) -ldistrio_io \ -L$(DISTRIO_MANAGER) -ldistrio_manager \ -lACE -lTAO -lTAO_AnyTypeCode -lTAO_CosNaming -lTAO_PortableServer \ + `pkg-config --libs libgpio` \ -L. -lini \ -lrt -CFLAGS += -fPIC -I$(DISTRIO_COMMON) -I$(DISTRIO_IO) -I$(DISTRIO_MANAGER) +CFLAGS += -fPIC -I$(DISTRIO_COMMON) -I$(DISTRIO_IO) -I$(DISTRIO_MANAGER) \ + `pkg-config --cflags libgpio` + CXXFLAGS += $(CFLAGS) DESTDIR := /usr |
