From: Felix Fietkau Date: Sun, 4 Nov 2012 17:01:30 +0000 (+0000) Subject: mtd: avoid adding the kernel dir to includes, use the toolchain headers X-Git-Tag: reboot~12409 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c57f66f745ea2492c06355f1d285d23acadc9146;p=oweals%2Fopenwrt.git mtd: avoid adding the kernel dir to includes, use the toolchain headers SVN-Revision: 34071 --- 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