mtd: avoid adding the kernel dir to includes, use the toolchain headers

SVN-Revision: 34071
lede-17.01
Felix Fietkau 2012-11-04 17:01:30 +00:00
parent c1aae78816
commit c57f66f745
1 changed files with 1 additions and 1 deletions

View File

@ -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