X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4ef5b94744e34194d2b6dd09a32b345481add1d8..002c3c665289b52eb20fd899fd3561e7f9d9e073:/package/mtd/Makefile?ds=sidebyside diff --git a/package/mtd/Makefile b/package/mtd/Makefile index 49a760be2..27338d783 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