Changeset 29779


Ignore:
Timestamp:
2012-01-18T20:22:14+01:00 (6 years ago)
Author:
jow
Message:

[package] mtd: external toolchains usually do not know about MTDREFRESH, so search in $(LINUX_DIR)/include first, fixes compilation with external CodeSourcery toolchain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mtd/Makefile

    r28893 r29779  
    3636 
    3737MAKE_FLAGS += TARGET="$(target)" 
    38 TARGET_CFLAGS += -Dtarget_$(target)=1 -Wall 
     38TARGET_CFLAGS := -I$(LINUX_DIR)/include $(TARGET_CFLAGS) -Dtarget_$(target)=1 -Wall 
    3939 
    4040ifdef CONFIG_MTD_REDBOOT_PARTS 
Note: See TracChangeset for help on using the changeset viewer.