f2fs_io: Fix out of tree builds

Relative path does not work when searching for include files
when srcdir != builddir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
Khem Raj 2022-12-21 18:28:29 -08:00 committed by sunshenshen
parent 4207f53215
commit e118fca18c

View File

@ -1,7 +1,7 @@
## Makefile.am
if LINUX
AM_CPPFLAGS = -I../../include
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CFLAGS = -Wall
sbin_PROGRAMS = f2fs_io
f2fs_io_SOURCES = f2fs_io.c