diff options
Diffstat (limited to 'meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools/0001-f2fs-tools-Use-srcdir-prefix-to-denote-include-path.patch')
-rw-r--r-- | meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools/0001-f2fs-tools-Use-srcdir-prefix-to-denote-include-path.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools/0001-f2fs-tools-Use-srcdir-prefix-to-denote-include-path.patch b/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools/0001-f2fs-tools-Use-srcdir-prefix-to-denote-include-path.patch new file mode 100644 index 000000000..0a3261b4e --- /dev/null +++ b/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools/0001-f2fs-tools-Use-srcdir-prefix-to-denote-include-path.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 0fb9d6bc25e903f7831a38468845ea143fb5afd5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 11 Aug 2018 18:49:03 -0700 | ||
4 | Subject: [PATCH] f2fs-tools: Use srcdir prefix to denote include path | ||
5 | |||
6 | This helps builds when builddir != srcdir | ||
7 | |||
8 | Upstream-Status: Submitted [https://lkml.org/lkml/2018/8/12/1] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | tools/sg_write_buffer/Makefile.am | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/tools/sg_write_buffer/Makefile.am b/tools/sg_write_buffer/Makefile.am | ||
15 | index 922c328..19c438d 100644 | ||
16 | --- a/tools/sg_write_buffer/Makefile.am | ||
17 | +++ b/tools/sg_write_buffer/Makefile.am | ||
18 | @@ -1,7 +1,7 @@ | ||
19 | ## Makefile.am | ||
20 | |||
21 | if LINUX | ||
22 | -AM_CPPFLAGS = -I./include | ||
23 | +AM_CPPFLAGS = -I$(srcdir)/include | ||
24 | AM_CFLAGS = -Wall | ||
25 | sbin_PROGRAMS = sg_write_buffer | ||
26 | sg_write_buffer_SOURCES = sg_write_buffer.c \ | ||
27 | -- | ||
28 | 2.18.0 | ||
29 | |||