diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-11-04 17:01:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-11-04 17:01:30 +0000 |
commit | c57f66f745ea2492c06355f1d285d23acadc9146 (patch) | |
tree | 34b967e35c3573b45108405d608e16301e3a1758 /package/mtd/Makefile | |
parent | c1aae78816b70d39db7de6725b2cba332ecb5997 (diff) | |
download | master-31e0f0ae-c57f66f745ea2492c06355f1d285d23acadc9146.tar.gz master-31e0f0ae-c57f66f745ea2492c06355f1d285d23acadc9146.tar.bz2 master-31e0f0ae-c57f66f745ea2492c06355f1d285d23acadc9146.zip |
mtd: avoid adding the kernel dir to includes, use the toolchain headers
SVN-Revision: 34071
Diffstat (limited to 'package/mtd/Makefile')
-rw-r--r-- | package/mtd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |