1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 22:05:20 +02:00

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
This commit is contained in:
nbd 2012-11-04 17:01:30 +00:00
parent 59991e53bc
commit f40154c06c

View File

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