From f40154c06cfcb2e60cc7b0dbffb0af4555449a58 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 4 Nov 2012 17:01:30 +0000 Subject: [PATCH] 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 --- package/mtd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mtd/Makefile b/package/mtd/Makefile index c6b94ffdf..f429128e0 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