aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mtd-utils
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2017-04-12 13:18:49 -0700
committerFelix Fietkau <nbd@nbd.name>2017-04-26 10:29:39 +0200
commit74f9c9c1594f205f975723f60448077090a8f014 (patch)
treeedb76fefe0ef382ba32781056ca1607ddad920db /tools/mtd-utils
parent0b7ed65cec8084bb98ae0e2758b7aca6c447cd4b (diff)
downloadupstream-74f9c9c1594f205f975723f60448077090a8f014.tar.gz
upstream-74f9c9c1594f205f975723f60448077090a8f014.tar.bz2
upstream-74f9c9c1594f205f975723f60448077090a8f014.zip
tools: host/include/getline.h: Remove
Seems to be useful only for old and unsupported operating systems. Removed and adjusted the mtd-utils Makefile. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'tools/mtd-utils')
-rw-r--r--tools/mtd-utils/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mtd-utils/Makefile b/tools/mtd-utils/Makefile
index 9e920bcb43..7b4a91a73d 100644
--- a/tools/mtd-utils/Makefile
+++ b/tools/mtd-utils/Makefile
@@ -19,7 +19,7 @@ include $(INCLUDE_DIR)/host-build.mk
HOST_CFLAGS += -I$(STAGING_DIR_HOST)/include/e2fsprogs
CFLAGS := $(HOST_CFLAGS) -I$(HOST_BUILD_DIR)/include -L$(HOST_BUILD_DIR) -L$(STAGING_DIR_HOST)/lib -DNO_NATIVE_SUPPORT
ifneq ($(HOST_OS),Linux)
-CFLAGS += -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include getline.h -include endian.h -I$(CURDIR)/include -include fls.h
+CFLAGS += -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include endian.h -I$(CURDIR)/include -include fls.h
MTD_STATIC := 0
else
MTD_STATIC := 1