aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mtd-utils/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-16 00:11:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-16 00:11:43 +0000
commit5c8bfc0c17302ea58de7f83fdffe81a2327526f3 (patch)
treeb1a4f1ac1c477b58e7e3f45e59cc012acec3d81a /tools/mtd-utils/Makefile
parentf7c4735a19cd848d9e5e51da8f68443fdf113b34 (diff)
downloadupstream-5c8bfc0c17302ea58de7f83fdffe81a2327526f3.tar.gz
upstream-5c8bfc0c17302ea58de7f83fdffe81a2327526f3.tar.bz2
upstream-5c8bfc0c17302ea58de7f83fdffe81a2327526f3.zip
mtd-utils: fix compile on mac os x
SVN-Revision: 19158
Diffstat (limited to 'tools/mtd-utils/Makefile')
-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 8938614e76..45a61ab3c3 100644
--- a/tools/mtd-utils/Makefile
+++ b/tools/mtd-utils/Makefile
@@ -23,7 +23,7 @@ include $(INCLUDE_DIR)/host-build.mk
CFLAGS := $(HOST_CFLAGS) -I$(HOST_BUILD_DIR)/include -L$(HOST_BUILD_DIR) -L$(STAGING_DIR_HOST)/lib
ifneq ($(HOST_OS),Linux)
-CFLAGS += -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include getline.h -include endian.h
+CFLAGS += -Dloff_t=off_t -D__BYTE_ORDER=BYTE_ORDER -include getline.h -include endian.h -I$(CURDIR)/include -include fls.h
endif
MTD_MAKEOPTS = \