summaryrefslogtreecommitdiff
path: root/package/mtd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/mtd/Makefile')
-rw-r--r--package/mtd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/Makefile b/package/mtd/Makefile
index c6b94ffdf6..f429128e02 100644
--- a/package/mtd/Makefile
+++ b/package/mtd/Makefile
@@ -38,7 +38,7 @@ endef
target=$(firstword $(subst -, ,$(BOARD)))
MAKE_FLAGS += TARGET="$(target)"
-TARGET_CFLAGS := -I$(LINUX_DIR)/include $(TARGET_CFLAGS) -Dtarget_$(target)=1 -Wall
+TARGET_CFLAGS := $(TARGET_CFLAGS) -Dtarget_$(target)=1 -Wall
ifdef CONFIG_MTD_REDBOOT_PARTS
MAKE_FLAGS += FIS_SUPPORT=1