mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 17:47:00 +00:00
mtd: avoid adding the kernel dir to includes, use the toolchain headers
SVN-Revision: 34071
This commit is contained in:
parent
c1aae78816
commit
c57f66f745
@ -38,7 +38,7 @@ endef
|
|||||||
target=$(firstword $(subst -, ,$(BOARD)))
|
target=$(firstword $(subst -, ,$(BOARD)))
|
||||||
|
|
||||||
MAKE_FLAGS += TARGET="$(target)"
|
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
|
ifdef CONFIG_MTD_REDBOOT_PARTS
|
||||||
MAKE_FLAGS += FIS_SUPPORT=1
|
MAKE_FLAGS += FIS_SUPPORT=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user