Skip to content
Snippets Groups Projects
Commit 156a74e7 authored by jow's avatar jow
Browse files

[package] mtd: external toolchains usually do not know about MTDREFRESH, so...

[package] mtd: external toolchains usually do not know about MTDREFRESH, so search in $(LINUX_DIR)/include first, fixes compilation with external CodeSourcery toolchain


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29779 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 25e2b28f
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ endef
target=$(firstword $(subst -, ,$(BOARD)))
MAKE_FLAGS += TARGET="$(target)"
TARGET_CFLAGS += -Dtarget_$(target)=1 -Wall
TARGET_CFLAGS := -I$(LINUX_DIR)/include $(TARGET_CFLAGS) -Dtarget_$(target)=1 -Wall
ifdef CONFIG_MTD_REDBOOT_PARTS
MAKE_FLAGS += FIS_SUPPORT=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment