Late mtd does not support linux-2.4
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 23 Sep 2007 14:26:19 +0000 (14:26 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 23 Sep 2007 14:26:19 +0000 (14:26 -0000)
package/mtd/20061007/mtd.mk

index f2d60cede85fc52541b4844c688e9b3dcf64489d..e4645d605968d3bd40f0b54dc58ad4694aca7d55 100644 (file)
@@ -85,7 +85,7 @@ MTD_BUILD_TARGETS := $(addprefix $(MTD_DIR)/, $(MTD_TARGETS_y))
 $(MTD_BUILD_TARGETS): $(MTD_DIR)/.unpacked
        mkdir -p $(TARGET_DIR)/usr/sbin
        $(MAKE) CFLAGS="-I. -I./include -I$(LINUX_HEADERS_DIR)/include -I$(STAGING_DIR)/usr/include $(TARGET_CFLAGS)" \
-               CROSS= CC=$(TARGET_CC) LINUXDIR=$(LINUX_DIR) WITHOUT_XATTR=1 -C $(MTD_DIR)
+               CROSS= CC=$(TARGET_CC) LINUXDIR=$(LINUX26_DIR) WITHOUT_XATTR=1 -C $(MTD_DIR)
 
 MTD_TARGETS := $(addprefix $(TARGET_DIR)/usr/sbin/, $(MTD_TARGETS_y))