From 6550f5b9ed7d22785f5625ff430e341d24beeaa5 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 27 Jan 2017 19:12:08 +0100 Subject: [PATCH] btrfs-progs: build: remove directory-specific include paths The convert and image utilities used include, but we specify the headers by path relative to the toplevel directory for clarity. The compiler option is not needed. Signed-off-by: David Sterba --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index e412aebc..1eac19df 100644 --- a/Makefile.in +++ b/Makefile.in @@ -400,7 +400,7 @@ btrfstune.static: btrfstune.static.o $(static_objects) $(static_libbtrfs_objects btrfs-image: image/main.o $(objects) $(libs_static) @echo " [LD] $@" - $(Q)$(CC) $(CFLAGS) -I$(TOPDIR)/image -o $@ $^ $(LDFLAGS) $(LIBS) $(LIBS_COMP) + $(Q)$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS) $(LIBS_COMP) btrfs-image.static: image/main.static.o $(static_objects) $(static_libbtrfs_objects) @echo " [LD] $@" @@ -408,7 +408,7 @@ btrfs-image.static: image/main.static.o $(static_objects) $(static_libbtrfs_obje btrfs-convert: $(convert_objects) $(objects) $(libs_static) @echo " [LD] $@" - $(Q)$(CC) $(CFLAGS) -I$(TOPDIR)/convert -o $@ $^ $(LDFLAGS) $(btrfs_convert_libs) $(LIBS) + $(Q)$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(btrfs_convert_libs) $(LIBS) btrfs-convert.static: $(static_convert_objects) $(static_objects) $(static_libbtrfs_objects) @echo " [LD] $@"