aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-11-04 17:01:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-11-04 17:01:30 +0000
commit3c25d86e28b25e4b7f37344df7f31bbee774eb5e (patch)
tree110ae8b57d0c366d3696853ff066d6e3327f56ef /package
parenta20833a4b897b3f14b2fe4b81c90a983bdb1c567 (diff)
downloadupstream-3c25d86e28b25e4b7f37344df7f31bbee774eb5e.tar.gz
upstream-3c25d86e28b25e4b7f37344df7f31bbee774eb5e.tar.bz2
upstream-3c25d86e28b25e4b7f37344df7f31bbee774eb5e.zip
mtd: avoid adding the kernel dir to includes, use the toolchain headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34071 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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