* [PATCH] f2fs-tools:: Use srcdir prefix to denote include path
@ 2018-08-12 2:01 Khem Raj
0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2018-08-12 2:01 UTC (permalink / raw)
To: linux-kernel; +Cc: Khem Raj
This helps builds when builddir != srcdir
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
tools/sg_write_buffer/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/sg_write_buffer/Makefile.am b/tools/sg_write_buffer/Makefile.am
index 922c328..19c438d 100644
--- a/tools/sg_write_buffer/Makefile.am
+++ b/tools/sg_write_buffer/Makefile.am
@@ -1,7 +1,7 @@
## Makefile.am
if LINUX
-AM_CPPFLAGS = -I./include
+AM_CPPFLAGS = -I$(srcdir)/include
AM_CFLAGS = -Wall
sbin_PROGRAMS = sg_write_buffer
sg_write_buffer_SOURCES = sg_write_buffer.c \
--
2.18.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-12 2:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-12 2:01 [PATCH] f2fs-tools:: Use srcdir prefix to denote include path Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox