diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-18 19:22:14 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-18 19:22:14 +0000 |
commit | 3a794cde8c2878ae6376ba4d95e0c9fd56a1c3fd (patch) | |
tree | 45bea87173a1f33c37eda7d4b45876ea9d04b07a | |
parent | f7a7e289a5293ac6d71d4a4f4603e32bc2c7291c (diff) | |
download | mtk-20170518-3a794cde8c2878ae6376ba4d95e0c9fd56a1c3fd.zip mtk-20170518-3a794cde8c2878ae6376ba4d95e0c9fd56a1c3fd.tar.gz mtk-20170518-3a794cde8c2878ae6376ba4d95e0c9fd56a1c3fd.tar.bz2 |
mtd: external toolchains usually do not know about MTDREFRESH, so search in $(LINUX_DIR)/include first, fixes compilation with external CodeSourcery toolchain
SVN-Revision: 29779
-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 49a760b..27338d7 100644 --- a/package/mtd/Makefile +++ b/package/mtd/Makefile @@ -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 |