Thread (18 messages) 18 messages, 3 authors, 2016-03-15
STALE3761d

[PATCH 2/4] tools: gpio: Add necessary include paths

From: Markus Pargmann <hidden>
Date: 2016-02-23 07:54:47
Also in: linux-gpio
Subsystem: gpio uapi, the rest · Maintainers: Bartosz Golaszewski, Linus Torvalds

Add include paths to the Makefile so that linux/gpio.h can be found even
on systems without this header.

Signed-off-by: Markus Pargmann <redacted>
---
 tools/gpio/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/gpio/Makefile b/tools/gpio/Makefile
index 4d198d5c4203..3f5b3f427b9c 100644
--- a/tools/gpio/Makefile
+++ b/tools/gpio/Makefile
@@ -1,5 +1,5 @@
 CC = $(CROSS_COMPILE)gcc
-CFLAGS += -Wall -g -D_GNU_SOURCE
+CFLAGS += -Wall -g -D_GNU_SOURCE -I ../include -I ../../include/uapi
 
 all: lsgpio
 
-- 
2.7.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help